diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-26 09:00:01 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-26 09:00:01 +0000 |
commit | a919e9b280ca1a3bce47177e6422f380e8af002a (patch) | |
tree | fffcde24d9c2391bf1c9acd0700ab5c81817deab /lib/init.php | |
parent | 97bcd214044e30b5078052ee0c523b63966d6833 (diff) | |
download | ampache-a919e9b280ca1a3bce47177e6422f380e8af002a.tar.gz ampache-a919e9b280ca1a3bce47177e6422f380e8af002a.tar.bz2 ampache-a919e9b280ca1a3bce47177e6422f380e8af002a.zip |
remove redundent UPDATE on session table due to /util.php should make high-traffic sites faster, most likely will not notice the query redunction
Diffstat (limited to 'lib/init.php')
-rw-r--r-- | lib/init.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/init.php b/lib/init.php index 7c6e3896..6a2e1a15 100644 --- a/lib/init.php +++ b/lib/init.php @@ -251,13 +251,12 @@ unset($results); flip_class(array('odd','even')); /* Check to see if we need to perform an update */ -if (! preg_match('/update\.php/', $_SERVER['PHP_SELF'])) { +if (!preg_match('/update\.php/', $_SERVER['PHP_SELF'])) { if (Update::need_update()) { header("Location: " . Config::get('web_path') . "/update.php"); exit(); } } - // For the XMLRPC stuff $GLOBALS['xmlrpc_internalencoding'] = Config::get('site_charset'); ?> |