cleanup uninstall file
This commit is contained in:
parent
be0a647da5
commit
0afc3db3d5
1 changed files with 32 additions and 31 deletions
|
@ -10,34 +10,36 @@
|
||||||
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||||
# -- END LICENSE BLOCK ------------------------------------
|
# -- END LICENSE BLOCK ------------------------------------
|
||||||
|
|
||||||
if (!defined('DC_CONTEXT_ADMIN')){return;}
|
if (!defined('DC_CONTEXT_ADMIN')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->addUserAction(
|
$this->addUserAction(
|
||||||
/* type */ 'settings',
|
/* type */ 'settings',
|
||||||
/* action */ 'delete_all',
|
/* action */ 'delete_all',
|
||||||
/* ns */ 'kUtRL',
|
/* ns */ 'kUtRL',
|
||||||
/* description */ __('delete all settings')
|
/* description */ __('delete all settings')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->addUserAction(
|
$this->addUserAction(
|
||||||
/* type */ 'tables',
|
/* type */ 'tables',
|
||||||
/* action */ 'delete',
|
/* action */ 'delete',
|
||||||
/* ns */ 'kutrl',
|
/* ns */ 'kutrl',
|
||||||
/* description */ __('delete table')
|
/* description */ __('delete table')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->addUserAction(
|
$this->addUserAction(
|
||||||
/* type */ 'plugins',
|
/* type */ 'plugins',
|
||||||
/* action */ 'delete',
|
/* action */ 'delete',
|
||||||
/* ns */ 'kUtRL',
|
/* ns */ 'kUtRL',
|
||||||
/* description */ __('delete plugin files')
|
/* description */ __('delete plugin files')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->addUserAction(
|
$this->addUserAction(
|
||||||
/* type */ 'versions',
|
/* type */ 'versions',
|
||||||
/* action */ 'delete',
|
/* action */ 'delete',
|
||||||
/* ns */ 'kUtRL',
|
/* ns */ 'kUtRL',
|
||||||
/* description */ __('delete the version number')
|
/* description */ __('delete the version number')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,23 +47,22 @@ $this->addUserAction(
|
||||||
# Keep table
|
# Keep table
|
||||||
|
|
||||||
$this->addDirectAction(
|
$this->addDirectAction(
|
||||||
/* type */ 'settings',
|
/* type */ 'settings',
|
||||||
/* action */ 'delete_all',
|
/* action */ 'delete_all',
|
||||||
/* ns */ 'kUtRL',
|
/* ns */ 'kUtRL',
|
||||||
/* description */ sprintf(__('delete all %s settings'),'kUtRL')
|
/* description */ sprintf(__('delete all %s settings'),'kUtRL')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->addDirectAction(
|
$this->addDirectAction(
|
||||||
/* type */ 'versions',
|
/* type */ 'versions',
|
||||||
/* action */ 'delete',
|
/* action */ 'delete',
|
||||||
/* ns */ 'kUtRL',
|
/* ns */ 'kUtRL',
|
||||||
/* description */ sprintf(__('delete %s version number'),'kUtRL')
|
/* description */ sprintf(__('delete %s version number'),'kUtRL')
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->addDirectAction(
|
$this->addDirectAction(
|
||||||
/* type */ 'plugins',
|
/* type */ 'plugins',
|
||||||
/* action */ 'delete',
|
/* action */ 'delete',
|
||||||
/* ns */ 'kUtRL',
|
/* ns */ 'kUtRL',
|
||||||
/* description */ sprintf(__('delete %s plugin files'),'kUtRL')
|
/* description */ sprintf(__('delete %s plugin files'),'kUtRL')
|
||||||
);
|
);
|
||||||
?>
|
|
Loading…
Reference in a new issue