From 570901ba4e526be37afd0cbbe018cb0500a7cda1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 5 Sep 2011 01:22:27 -0400 Subject: Refactor a bit * move a lot of stuff out of MessageManager * move models from lib to models --- src/lib/Database.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/Database.class.php') diff --git a/src/lib/Database.class.php b/src/lib/Database.class.php index 03c227f..b7e5bcd 100644 --- a/src/lib/Database.class.php +++ b/src/lib/Database.class.php @@ -381,7 +381,7 @@ class Database { * key-value store in the database. */ public static function arrayToValue($list) { - $out_list = $this->sanitizeArray($list); + $out_list = self::sanitizeArray($list); return ','.implode(',', $out_list).','; } /** @@ -389,7 +389,7 @@ class Database { */ public static function valueToArray($value) { $raw_list = explode(',', $value); - $out_list = $this->sanitizeArray($raw_list); + $out_list = self::sanitizeArray($raw_list); return $out_list; } -- cgit v1.2.3-2-g168b