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