diff options
Diffstat (limited to 'api/posts_update.php')
| -rw-r--r-- | api/posts_update.php | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/api/posts_update.php b/api/posts_update.php index de379d2..6ea50e2 100644 --- a/api/posts_update.php +++ b/api/posts_update.php @@ -8,14 +8,13 @@  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'); +  // Get the posts relevant to the passed-in variables.  $bookmarks =& $bookmarkservice->getBookmarks(0, 1, $userservice->getCurrentUserId()); -$currentuser = $userservice->getCurrentUser(); -$currentusername = $currentuser[$userservice->getFieldName('username')];  // Set up the XML file and output all the tags.  header('Content-Type: text/xml'); | 
