aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-01 18:39:30 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-01 18:39:30 +0100
commit24c8f2b9e012595b15a2ffa3e042a558f736cc69 (patch)
tree349abacf663f786c67fd04a770d2b773aca11032 /recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch
parenta26da59582fe7e05c0a9ea09e17cf181cb5193b5 (diff)
downloadopenembedded-24c8f2b9e012595b15a2ffa3e042a558f736cc69.tar.gz
mythplugins: added more plugins, packaging is not complete yet
Diffstat (limited to 'recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch')
-rw-r--r--recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch b/recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch
new file mode 100644
index 0000000000..95cf86e49f
--- /dev/null
+++ b/recipes/mythtv/mythplugins_0.21+0.22rc1/MythBackend.php.patch
@@ -0,0 +1,13 @@
+Index: mythplugins-0.22rc1/mythweb/classes/MythBackend.php
+===================================================================
+--- mythplugins-0.22rc1.orig/mythweb/classes/MythBackend.php
++++ mythplugins-0.22rc1/mythweb/classes/MythBackend.php
+@@ -111,7 +111,7 @@ class MythBackend {
+ }
+
+ public function setTimezone() {
+- if (!is_string($_SESSION['backend']['timezone']['value']) || $_SESSION['backend']['timezone']['last_check_time'] - time() > 60*60*24) {
++ if (!is_string($_SESSION['backend']['timezone']['value']) || time() - $_SESSION['backend']['timezone']['last_check_time'] () > 60*60*24) {
+ $response = $this->sendCommand('QUERY_TIME_ZONE');
+ $timezone = str_replace(' ', '_', $response[0]);
+ $_SESSION['backend']['timezone']['value'] = $timezone;