aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-08-17 23:03:44 +0200
committerTristan Darricau <github@nicofuma.fr>2014-08-17 23:03:44 +0200
commit71f78fb8c6167f33e9e650f97243099fc2bf9a4f (patch)
tree9904ec9174fec7fa41ca738e5bebe4bdb0ef1534 /phpBB
parentb18fe1203aafb41d8e9e18a776bf415fa060bf4b (diff)
downloadforums-71f78fb8c6167f33e9e650f97243099fc2bf9a4f.tar
forums-71f78fb8c6167f33e9e650f97243099fc2bf9a4f.tar.gz
forums-71f78fb8c6167f33e9e650f97243099fc2bf9a4f.tar.bz2
forums-71f78fb8c6167f33e9e650f97243099fc2bf9a4f.tar.xz
forums-71f78fb8c6167f33e9e650f97243099fc2bf9a4f.zip
[ticket/12990] Use protected instead of private
PHPBB3-12990
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/ucp/ucp_notifications.php2
-rw-r--r--phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/ucp/ucp_notifications.php b/phpBB/includes/ucp/ucp_notifications.php
index 690a16c5f6..5691302b83 100644
--- a/phpBB/includes/ucp/ucp_notifications.php
+++ b/phpBB/includes/ucp/ucp_notifications.php
@@ -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>');
trigger_error($message);
}
diff --git a/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php b/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php
index 5ae91e4044..1cb2e250c5 100644
--- a/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php
+++ b/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php
@@ -15,7 +15,7 @@ namespace phpbb\db\migration\data\v310;
class notifications_use_full_name extends \phpbb\db\migration\migration
{
- private $notification_types = array(
+ protected $notification_types = array(
'admin_activate_user',
'approve_post',
'approve_topic',
@@ -35,7 +35,7 @@ class notifications_use_full_name extends \phpbb\db\migration\migration
'topic',
'topic_in_queue');
- private $notification_methods = array(
+ protected $notification_methods = array(
'email',
'jabber',
);