diff options
author | MateBartus <mate.bartus@gmail.com> | 2015-04-29 00:13:29 +0200 |
---|---|---|
committer | MateBartus <mate.bartus@gmail.com> | 2015-05-01 12:40:53 +0200 |
commit | 57072a1e28061ff51148c7d6a0c47664f0060639 (patch) | |
tree | 44ac0b381fb03106656edb150fad256c88e7c256 /phpBB/phpbb/notification/manager.php | |
parent | d67fdfa02bdeb80978ef1440af55ca710552b5ad (diff) | |
download | forums-57072a1e28061ff51148c7d6a0c47664f0060639.tar forums-57072a1e28061ff51148c7d6a0c47664f0060639.tar.gz forums-57072a1e28061ff51148c7d6a0c47664f0060639.tar.bz2 forums-57072a1e28061ff51148c7d6a0c47664f0060639.tar.xz forums-57072a1e28061ff51148c7d6a0c47664f0060639.zip |
[ticket/13793] Remove translation on throwing exceptions
PHPBB3-13793
Diffstat (limited to 'phpBB/phpbb/notification/manager.php')
-rw-r--r-- | phpBB/phpbb/notification/manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/manager.php b/phpBB/phpbb/notification/manager.php index db92170dd8..38d7a13165 100644 --- a/phpBB/phpbb/notification/manager.php +++ b/phpBB/phpbb/notification/manager.php @@ -943,7 +943,7 @@ class manager { if (!isset($this->notification_types[$notification_type_name]) && !isset($this->notification_types['notification.type.' . $notification_type_name])) { - throw new \phpbb\notification\exception($this->user->lang('NOTIFICATION_TYPE_NOT_EXIST', $notification_type_name)); + throw new \phpbb\notification\exception('NOTIFICATION_TYPE_NOT_EXIST', array($notification_type_name)); } $sql = 'INSERT INTO ' . $this->notification_types_table . ' ' . $this->db->sql_build_array('INSERT', array( |