diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-23 19:11:33 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-23 19:11:33 +0000 |
commit | 82b17be34671852feba16d77f75741e124d76073 (patch) | |
tree | 2a498d0cdba92fa9b7b0df525f21cfb133f5306a /www | |
parent | 60fa8fd540a01c0d4379bf1735f828f5c2124f33 (diff) | |
download | semanticscuttle-82b17be34671852feba16d77f75741e124d76073.tar.gz semanticscuttle-82b17be34671852feba16d77f75741e124d76073.tar.bz2 |
part of request #2830224: prepare API for short url service
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@570 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www')
-rw-r--r-- | www/api/posts_add.php | 2 | ||||
-rw-r--r-- | www/import.php | 2 | ||||
-rw-r--r-- | www/importNetscape.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/www/api/posts_add.php b/www/api/posts_add.php index aff8771..441965c 100644 --- a/www/api/posts_add.php +++ b/www/api/posts_add.php @@ -73,7 +73,7 @@ if (is_null($url) || is_null($description)) { if ($bookmarkservice->bookmarkExists($url, $userservice->getCurrentUserId())) $added = false; else - $added = $bookmarkservice->addBookmark($url, $description, $extended, '', $status, $tags, $dt, true); + $added = $bookmarkservice->addBookmark($url, $description, $extended, '', $status, $tags, null, $dt, true); } // Set up the XML file and output the result. diff --git a/www/import.php b/www/import.php index 87f0a9a..0105626 100644 --- a/www/import.php +++ b/www/import.php @@ -100,7 +100,7 @@ function startElement($parser, $name, $attrs) { $bDatetime = gmdate('Y-m-d H:i:s'); } - if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, '', $status, $tags, $bDatetime, true, true)) + if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, '', $status, $tags, null, $bDatetime, true, true)) $tplVars['msg'] = T_('Bookmark imported.'); else $tplVars['error'] = T_('There was an error saving your bookmark. Please try again or contact the administrator.'); diff --git a/www/importNetscape.php b/www/importNetscape.php index a941145..dab1ba2 100644 --- a/www/importNetscape.php +++ b/www/importNetscape.php @@ -102,7 +102,7 @@ if ($userservice->isLoggedOn() && sizeof($_FILES) > 0 && $_FILES['userfile']['si $bDatetime = gmdate('Y-m-d H:i:s'); } - if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, $bPrivateNote, $status, $bCategories, $bDatetime, false, true)) { + if ($bookmarkservice->addBookmark($bAddress, $bTitle, $bDescription, $bPrivateNote, $status, $bCategories, null, $bDatetime, false, true)) { $countImportedBookmarks++; } else { $tplVars['error'] = T_('There was an error saving your bookmark. Please try again or contact the administrator.'); |