public function rmFolder()
 {
     $id = strip_tags($_POST["rm-folder"]);
     $folderinfo = DA_DatabaseHandler::findInTable(FOLDERS_TABLE, "id", $id);
     if (rmdir(DA_WP_PATH . current($folderinfo)["filepath"])) {
         if (DA_DatabaseHandler::deleteRow(FOLDERS_TABLE, "id", $id)) {
             debug("Success!!!");
         }
     } else {
         debug("Could not remove folder, not empty?");
     }
 }