Skip to content

Commit

Permalink
Rough Draft for deletePlugin($plugin_name)
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Jul 23, 2023
1 parent dd170b5 commit 84439f7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Model/PluginCleaningModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
*/
class PluginCleaningModel extends Base
{
public function deletePlugin($plugin_name)
{
$get_deletable_plugins = $this->helper->pluginCleaningHelper->getDeletablePlugins();
$plugin_tables = $this->applicationCleaningModel->delete($table);
$core_table_columns = $this->applicationCleaningModel->deleteColumn($table, $column);
$core_table_entries = $this->deleteCoreTableEntries();
$plugin_schema_entry = $this->deletePluginSchemaEntry();

return true;
}

/**
* Delete Plugin Entry from the Schema Table
Expand Down

0 comments on commit 84439f7

Please sign in to comment.