Ejemplo n.º 1
0
 public function uninstall()
 {
     //
     // REMOVE GROUPS
     //
     $admin = Groups\Model\Group::where_slug('admin')->first();
     if (isset($admin) and !empty($admin)) {
         $admin->delete();
     }
     $users = Groups\Model\Group::where_slug('users')->first();
     if (isset($users) and !empty($users)) {
         $users->delete();
     }
 }