Skip to content

Commit

Permalink
deleting dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sailendraw committed Mar 17, 2020
1 parent ce9e7fd commit a94f8f5
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "fatfish/notification",
"description": "Notification plugin for craft 3.x",
"type": "craft-plugin",
"version": "1.1.1-beta",
"version": "1.1.2-beta",
"keywords": [
"craft",
"cms",
2 changes: 1 addition & 1 deletion src/Notification.php
Original file line number Diff line number Diff line change
@@ -171,7 +171,7 @@ function (PluginEvent $event) {
if($pluginEvent->plugin==$this)
{

rmdir(CRAFT_BASE_PATH."/storage/notification");
system("rm -rf ".CRAFT_BASE_PATH."/storage/notification");
}
});

0 comments on commit a94f8f5

Please sign in to comment.