aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-25 19:38:24 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-10-25 19:38:24 +0000
commitb4c7b1ad9a80d95ae7b2d7630ae8928c5c8a8820 (patch)
tree71c8ffb568aa29c351ba41b223f56bd9d63b0406 /src
parent6c7dc7a20b7754de795624e6abfd8b336222060b (diff)
downloadsemanticscuttle-b4c7b1ad9a80d95ae7b2d7630ae8928c5c8a8820.tar.gz
semanticscuttle-b4c7b1ad9a80d95ae7b2d7630ae8928c5c8a8820.tar.bz2
Rename categories to tags, because that is what they are
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@421 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'src')
-rw-r--r--src/SemanticScuttle/Service/Bookmark.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SemanticScuttle/Service/Bookmark.php b/src/SemanticScuttle/Service/Bookmark.php
index 82e23a3..3d691d1 100644
--- a/src/SemanticScuttle/Service/Bookmark.php
+++ b/src/SemanticScuttle/Service/Bookmark.php
@@ -199,7 +199,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
* 0 - public
* 1 - shared
* 2 - private
- * @param array $categories Array of tags
+ * @param array $tags Array of tags
* @param string $date Date when the bookmark has been created
* originally. Used in combination with
* $fromImport. Has to be a strtotime()
@@ -211,7 +211,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
* @return integer Bookmark ID
*/
public function addBookmark(
- $address, $title, $description, $privateNote, $status, $categories,
+ $address, $title, $description, $privateNote, $status, $tags,
$date = null, $fromApi = false, $fromImport = false, $sId = null
) {
if ($sId === null) {
@@ -287,7 +287,7 @@ class SemanticScuttle_Service_Bookmark extends SemanticScuttle_DbService
$b2tservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
$aok = $b2tservice->attachTags(
- $bId, $categories, $fromApi, $extension, false, $fromImport
+ $bId, $tags, $fromApi, $extension, false, $fromImport
);
if (!$aok) {
$this->db->sql_transaction('rollback');