diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-09 14:55:40 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2012-09-09 14:55:40 -0500 |
| commit | e09f25d59707fc842b073fa2909cefc3d16ecbf3 (patch) | |
| tree | a5be17c213f92b9a6bf23345ed9fcf4b15eda8e0 /phpBB/includes/notifications/service.php | |
| parent | 3624d2c50ac1acca767c5642767102b97fd6b832 (diff) | |
| download | forums-e09f25d59707fc842b073fa2909cefc3d16ecbf3.tar forums-e09f25d59707fc842b073fa2909cefc3d16ecbf3.tar.gz forums-e09f25d59707fc842b073fa2909cefc3d16ecbf3.tar.bz2 forums-e09f25d59707fc842b073fa2909cefc3d16ecbf3.tar.xz forums-e09f25d59707fc842b073fa2909cefc3d16ecbf3.zip | |
[ticket/11103] Update notifications on post/topic edit
PHPBB3-11103
Diffstat (limited to 'phpBB/includes/notifications/service.php')
| -rw-r--r-- | phpBB/includes/notifications/service.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/notifications/service.php b/phpBB/includes/notifications/service.php index 463798fa07..112cbae3fd 100644 --- a/phpBB/includes/notifications/service.php +++ b/phpBB/includes/notifications/service.php @@ -58,10 +58,10 @@ class phpbb_notifications_service // Merge default options $options = array_merge(array( 'user_id' => $user->data['user_id'], - 'limit' => 5, - 'start' => 0, 'order_by' => 'time', 'order_dir' => 'DESC', + 'limit' => 5, + 'start' => 0, ), $options); $notifications = $user_ids = array(); @@ -147,7 +147,7 @@ class phpbb_notifications_service foreach ($methods as $method) { // setup the notification methods and add the notification to the queue - if ($method) + if ($method) // blank means we just insert it as a notification, but do not notify them by any other means { if (!isset($notification_methods[$method])) { |
