diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-18 18:32:13 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-10-18 18:32:13 -0500 |
| commit | ae670cc87df197e44b768667b853e1dae3009b4d (patch) | |
| tree | ba39c95e90ee469f29694b447f50d560b47142bc /phpBB/includes/ucp/ucp_notifications.php | |
| parent | 883a96172065b5eb7b07f7c6e19ff2b1d5079ef9 (diff) | |
| download | forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar.gz forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar.bz2 forums-ae670cc87df197e44b768667b853e1dae3009b4d.tar.xz forums-ae670cc87df197e44b768667b853e1dae3009b4d.zip | |
[ticket/11103] Remove unnecessary comments
Comments that are not needed because the actions are completely
self-explanatory
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/ucp/ucp_notifications.php')
| -rw-r--r-- | phpBB/includes/ucp/ucp_notifications.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/phpBB/includes/ucp/ucp_notifications.php b/phpBB/includes/ucp/ucp_notifications.php index 321730a64b..aeace13968 100644 --- a/phpBB/includes/ucp/ucp_notifications.php +++ b/phpBB/includes/ucp/ucp_notifications.php @@ -50,12 +50,10 @@ class ucp_notifications { if ($request->is_set_post($type . '_notification') && !isset($subscriptions[$type])) { - // add $phpbb_notifications->add_subscription($type); } else if (!$request->is_set_post($type . '_notification') && isset($subscriptions[$type])) { - // remove $phpbb_notifications->delete_subscription($type); } @@ -63,12 +61,10 @@ class ucp_notifications { if ($request->is_set_post($type . '_' . $method) && (!isset($subscriptions[$type]) || !in_array($method, $subscriptions[$type]))) { - // add $phpbb_notifications->add_subscription($type, 0, $method); } else if (!$request->is_set_post($type . '_' . $method) && isset($subscriptions[$type]) && in_array($method, $subscriptions[$type])) { - // remove $phpbb_notifications->delete_subscription($type, 0, $method); } } |
