Ejemplo n.º 1
0
	/**
	 * Get tables to be migrated.
	 *
	 * @return	array	List of tables without prefix
	 * @since	1.6.4
	 */
	protected function getCopyTables() {
		require_once $this->api;
		require_once KPATH_ADMIN . '/install/schema.php';
		$schema = new KunenaModelSchema();
		$tables = $schema->getSchemaTables('');
		return array_values($tables);
	}
Ejemplo n.º 2
0
 /**
  * Get tables to be migrated.
  *
  * @return	array	List of tables without prefix
  * @since	1.6.4
  */
 protected function getCopyTables()
 {
     require_once JPATH_ADMINISTRATOR . '/components/com_kunena/api.php';
     require_once KPATH_ADMIN . '/install/schema.php';
     $schema = new KunenaModelSchema();
     $tables = $schema->getSchemaTables('');
     return array_values($tables);
 }