aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
author3D-I <marktravai@gmail.com>2019-02-26 23:53:59 +0100
committer3D-I <marktravai@gmail.com>2019-02-26 23:56:28 +0100
commit8e8fa203b98191428a28207c7e4ae3c3f3bef04a (patch)
treec382ca8c1a53170578c811f2a3080b14d595f36c /phpBB/includes/functions.php
parent2cd574321fb4cfbdff58c71df5c70565c1c88e8c (diff)
downloadforums-8e8fa203b98191428a28207c7e4ae3c3f3bef04a.tar
forums-8e8fa203b98191428a28207c7e4ae3c3f3bef04a.tar.gz
forums-8e8fa203b98191428a28207c7e4ae3c3f3bef04a.tar.bz2
forums-8e8fa203b98191428a28207c7e4ae3c3f3bef04a.tar.xz
forums-8e8fa203b98191428a28207c7e4ae3c3f3bef04a.zip
[ticket/15972] Let the event be triggered
Removes old coding which is there just to save a few iterations. PHPBB3-15972
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 7a42852094..e2ea7ad232 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -680,8 +680,6 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $
}
}
}
-
- return;
}
else if ($mode == 'topics')
{
@@ -808,8 +806,6 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $
unset($tracking);
}
-
- return;
}
else if ($mode == 'topic')
{
@@ -923,8 +919,6 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $
$user->set_cookie('track', tracking_serialize($tracking), $post_time + 31536000);
$request->overwrite($config['cookie_name'] . '_track', tracking_serialize($tracking), \phpbb\request\request_interface::COOKIE);
}
-
- return;
}
else if ($mode == 'post')
{
@@ -949,8 +943,6 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $
$db->sql_return_on_error(false);
}
-
- return;
}
/**