index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | buildmaster/deletion-links.php | 7 |
diff --git a/buildmaster/deletion-links.php b/buildmaster/deletion-links.php index 066bf8d..9f55c89 100644 --- a/buildmaster/deletion-links.php +++ b/buildmaster/deletion-links.php @@ -16,8 +16,8 @@ else $filter = ""; $memcache = new Memcache; -$memcache->connect('localhost', 11211) or die ('Memcached Connection Error'); -$available_upstream_packages = $memcache->get('available_upstream_packages'); +$memcache -> connect('localhost', 11211) or die ('Memcached Connection Error'); +$available_upstream_packages = $memcache -> get('available_upstream_packages'); if ($available_upstream_packages === false) { $available_upstream_packages = explode( "\n", @@ -27,8 +27,9 @@ if ($available_upstream_packages === false) { "| sort -u" ) ); - $memcache->set('available_upstream_packages',$available_upstream_packages,0,1800); + $memcache -> set('available_upstream_packages',$available_upstream_packages,0,1800); } +$memcache -> close(); mysql_run_query( "CREATE TEMPORARY TABLE `available` (" . |