Changeset:
c48bd0b98159
https://sourceforge.net/p/mrbs/hg-code/ci/c48bd0b981592888a37e479a73a8e44e237ab39e
Author:
Campbell Morrison <[email protected]>
Date:
Thu Apr 13 12:43:30 2017 +0100
Log message:
Merge with default
diffstat:
web/functions.inc | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 842bd4f37570 -r c48bd0b98159 web/functions.inc
--- a/web/functions.inc Thu Apr 13 11:29:18 2017 +0100
+++ b/web/functions.inc Thu Apr 13 12:43:30 2017 +0100
@@ -626,7 +626,12 @@
{
global $morningstarts, $morningstarts_minutes,
$eveningends, $eveningends_minutes,
- $resolution;
+ $resolution, $enable_periods;
+
+ if ($enable_periods)
+ {
+ return true;
+ }
$start_day_secs = (($morningstarts * 60) + $morningstarts_minutes) * 60;
$end_day_secs = (((($eveningends * 60) + $eveningends_minutes) * 60) +
$resolution) % SECONDS_PER_DAY;
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits