aboutsummaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Service/Tag.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/SemanticScuttle/Service/Tag.php')
-rw-r--r--src/SemanticScuttle/Service/Tag.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/SemanticScuttle/Service/Tag.php b/src/SemanticScuttle/Service/Tag.php
index 2a70948..c863640 100644
--- a/src/SemanticScuttle/Service/Tag.php
+++ b/src/SemanticScuttle/Service/Tag.php
@@ -1,8 +1,6 @@
<?php
-class SemanticScuttle_Service_Tag extends SemanticScuttle_Service
+class SemanticScuttle_Service_Tag extends SemanticScuttle_DbService
{
- var $tablename;
-
/**
* Returns the single service instance
*
@@ -95,7 +93,7 @@ class SemanticScuttle_Service_Tag extends SemanticScuttle_Service
}
function renameTag($uId, $oldName, $newName) {
- $newname = $this->normalize($newname);
+ $newname = $this->normalize($newName);
$query = 'UPDATE `'. $this->getTableName() .'`';
$query.= ' SET tag="'.$newName.'"';
@@ -126,8 +124,5 @@ class SemanticScuttle_Service_Tag extends SemanticScuttle_Service
$this->db->sql_query($query);
}
- // Properties
- function getTableName() { return $this->tablename; }
- function setTableName($value) { $this->tablename = $value; }
}
?>