X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/6b106efb4f8497f1bd9dc334683751508caa176e..HEAD:/ajaxDelete.php diff --git a/ajaxDelete.php b/ajaxDelete.php index fb99301..0760a8e 100644 --- a/ajaxDelete.php +++ b/ajaxDelete.php @@ -23,7 +23,8 @@ header('Last-Modified: '. gmdate("D, d M Y H:i:s") .' GMT'); header('Cache-Control: no-cache, must-revalidate'); require_once 'header.inc.php'; -$bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService'); +$sf = new ServiceFactory(); +$bookmarkservice =& $sf->getServiceInstance('BookmarkService'); $bookmark = intval($_GET['id']); if (!$bookmarkservice->editAllowed($bookmark)) { echo T_('You are not allowed to delete this bookmark');