X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c20b44263a89d8bf1a78bfa632daaae3cb4f1da2..2410018fe8ea7f74c2f7847d4cefc3d822f4c64d:/ajaxDelete.php?ds=sidebyside diff --git a/ajaxDelete.php b/ajaxDelete.php index ad3efc8..fb99301 100644 --- a/ajaxDelete.php +++ b/ajaxDelete.php @@ -1,7 +1,6 @@ editAllowed($bookmark)) { - $result = T_('You are not allowed to delete this bookmark'); + echo T_('You are not allowed to delete this bookmark'); } elseif ($bookmarkservice->deleteBookmark($bookmark)) { - $result = 'true'; + echo true; } else { - $result = T_('Failed to delete bookmark'); + echo T_('Failed to delete bookmark'); } -?> - - deleteConfirmed - - \ No newline at end of file