/** * Returns the singleton Piwik_Db_Schema * * @return Piwik_Db_Schema */ public static function getInstance() { if (self::$instance === null) { self::$instance = new self(); } return self::$instance; }
/** * Get list of tables installed * * @param bool $forceReload Invalidate cache * @return array Tables installed */ public static function getTablesInstalled($forceReload = true) { return Piwik_Db_Schema::getInstance()->getTablesInstalled($forceReload); }