From: Evan Prodromou Date: Thu, 28 Apr 2011 22:29:36 +0000 (-0700) Subject: Status_network::setupDB() sets up related tables too X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7ed3b9cf3f1fc7350a8a84cfb517001d7cd2035c;p=quix0rs-gnu-social.git Status_network::setupDB() sets up related tables too --- diff --git a/classes/Status_network.php b/classes/Status_network.php index 5d01e72ccc..c3acacf595 100644 --- a/classes/Status_network.php +++ b/classes/Status_network.php @@ -74,7 +74,10 @@ class Status_network extends Safe_DataObject $config['db']['database_'.$dbname] = "mysqli://$dbuser:$dbpass@$dbhost/$dbname"; $config['db']['ini_'.$dbname] = INSTALLDIR.'/classes/status_network.ini'; - $config['db']['table_status_network'] = $dbname; + + foreach (array('status_network', 'status_network_tag', 'unavailable_status_network') as $table) { + $config['db']['table_'.$table] = $dbname; + } if (class_exists('Memcache')) { self::$cache = new Memcache();