Skip to content

Commit

Permalink
uninstall
Browse files Browse the repository at this point in the history
delete Table and Datafolder
  • Loading branch information
skerbis authored Jan 28, 2022
1 parent 52b66d7 commit a0f5a73
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions uninstall.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
$addon = rex_addon::get('fa_iconpicker');
// delete files
try {
rex_dir::delete($addon->getDataPath());
} catch (Exception $e) {}
// delete db table
rex_sql_table::get(rex::getTable('fa_icons'))->drop();

0 comments on commit a0f5a73

Please sign in to comment.