summaryrefslogtreecommitdiff
path: root/src/lib/Database.class.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 01:22:27 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-05 01:22:27 -0400
commit570901ba4e526be37afd0cbbe018cb0500a7cda1 (patch)
tree81f13e66cfd795141cac216fd2af610e877a1a31 /src/lib/Database.class.php
parentad4a7ff9159c2c64cea98d7189f46fa7d6174fc2 (diff)
Refactor a bit
* move a lot of stuff out of MessageManager * move models from lib to models
Diffstat (limited to 'src/lib/Database.class.php')
-rw-r--r--src/lib/Database.class.php4
1 files changed, 2 insertions, 2 deletions
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;
}