From 5db18a09c4eca4560c117f0b4dcd85d75e7139f2 Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 21 Nov 2008 11:02:01 +0000 Subject: Refactoring: improve defined and imported functions git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@169 b3834d28-1941-0410-a4f8-b48e95affb8f --- functions.inc.php | 12 ++---------- header.inc.php | 19 ++++++++++++++++--- services/bookmark2tagservice.php | 4 +++- services/servicefactory.php | 2 ++ 4 files changed, 23 insertions(+), 14 deletions(-) diff --git a/functions.inc.php b/functions.inc.php index 93821fd..965b120 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1,14 +1,6 @@ diff --git a/services/bookmark2tagservice.php b/services/bookmark2tagservice.php index 31ae4d2..9cafec9 100644 --- a/services/bookmark2tagservice.php +++ b/services/bookmark2tagservice.php @@ -241,7 +241,9 @@ class Bookmark2TagService { message_die(GENERAL_ERROR, 'Could not get tags', '', __LINE__, __FILE__, $query, $this->db); return false; } - return $this->db->sql_fetchrowset($dbresult); + + $output = $this->db->sql_fetchrowset($dbresult); + return $output; } diff --git a/services/servicefactory.php b/services/servicefactory.php index 9d50841..7ff7f22 100644 --- a/services/servicefactory.php +++ b/services/servicefactory.php @@ -1,4 +1,6 @@