From 29422fa55379aa61a61019b832c83dab6d450264 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:00:33 +0000 Subject: move files to new locations git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f --- api/posts_add.php | 83 ------------------------------------------------------- 1 file changed, 83 deletions(-) delete mode 100644 api/posts_add.php (limited to 'api/posts_add.php') diff --git a/api/posts_add.php b/api/posts_add.php deleted file mode 100644 index ba3e02c..0000000 --- a/api/posts_add.php +++ /dev/null @@ -1,83 +0,0 @@ - 2) { - $status = 0; - } - } else { - switch ($status_str) { - case 'private': - $status = 2; - break; - case 'shared': - $status = 1; - break; - default: - $status = 0; - break; - } - } -} - -// Error out if there's no address or description -if (is_null($url) || is_null($description)) { - $added = false; -} else { -// We're good with info; now insert it! - if ($bookmarkservice->bookmarkExists($url, $userservice->getCurrentUserId())) - $added = false; - else - $added = $bookmarkservice->addBookmark($url, $description, $extended, '', $status, $tags, $dt, true); -} - -// Set up the XML file and output the result. -header('Content-Type: text/xml'); -echo '\r\n"; -echo ''; -?> \ No newline at end of file -- cgit v1.2.3-54-g00ecf