connessione con hardware in assets
This commit is contained in:
+2
-19
@@ -14,6 +14,8 @@ if (!defined('GLPI_ROOT')) {
|
||||
die(__('Sorry. You cannot access this file directly.', 'urbackup'));
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/install.php';
|
||||
|
||||
/**
|
||||
* Uninstall plugin.
|
||||
*
|
||||
@@ -37,22 +39,3 @@ function plugin_urbackup_uninstall_process(): bool
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop a plugin table through Migration.
|
||||
*
|
||||
* @param Migration $migration Migration instance
|
||||
* @param string $table Table name
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function plugin_urbackup_migration_drop_table(Migration $migration, $table): void
|
||||
{
|
||||
global $DB;
|
||||
|
||||
if (!$DB->tableExists($table)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$migration->dropTable($table);
|
||||
}
|
||||
Reference in New Issue
Block a user