summaryrefslogtreecommitdiff
path: root/api/posts_delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/posts_delete.php')
-rw-r--r--api/posts_delete.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/posts_delete.php b/api/posts_delete.php
index 737a4fb..d24ba59 100644
--- a/api/posts_delete.php
+++ b/api/posts_delete.php
@@ -10,8 +10,9 @@
require_once('httpauth.inc.php');
require_once('../header.inc.php');
+/* Service creation: only useful services are created */
$bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService');
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+
// Note that del.icio.us only errors out if no URL was passed in; there's no error on attempting
// to delete a bookmark you don't have.