From 5d11ae2fd5a88b5605aa70167516a571822f0e06 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 24 Oct 2009 09:10:05 +0000 Subject: use dbservice in all services that need a db git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@406 b3834d28-1941-0410-a4f8-b48e95affb8f --- src/SemanticScuttle/Service/Tag.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/SemanticScuttle/Service/Tag.php') 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 @@ 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; } } ?> -- cgit v1.2.3-54-g00ecf