[ticket/12990] Use protected instead of private

PHPBB3-12990
This commit is contained in:
Tristan Darricau 2014-08-17 23:03:44 +02:00
parent b18fe1203a
commit 71f78fb8c6
2 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ class ucp_notifications
} }
} }
//meta_refresh(3, $this->u_action); meta_refresh(3, $this->u_action);
$message = $user->lang['PREFERENCES_UPDATED'] . '<br /><br />' . sprintf($user->lang['RETURN_UCP'], '<a href="' . $this->u_action . '">', '</a>'); $message = $user->lang['PREFERENCES_UPDATED'] . '<br /><br />' . sprintf($user->lang['RETURN_UCP'], '<a href="' . $this->u_action . '">', '</a>');
trigger_error($message); trigger_error($message);
} }

View file

@ -15,7 +15,7 @@ namespace phpbb\db\migration\data\v310;
class notifications_use_full_name extends \phpbb\db\migration\migration class notifications_use_full_name extends \phpbb\db\migration\migration
{ {
private $notification_types = array( protected $notification_types = array(
'admin_activate_user', 'admin_activate_user',
'approve_post', 'approve_post',
'approve_topic', 'approve_topic',
@ -35,7 +35,7 @@ class notifications_use_full_name extends \phpbb\db\migration\migration
'topic', 'topic',
'topic_in_queue'); 'topic_in_queue');
private $notification_methods = array( protected $notification_methods = array(
'email', 'email',
'jabber', 'jabber',
); );