diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 10:39:45 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-12-03 10:39:45 +0100 |
commit | 5846b0f1b32f7f9b99a3c20acfeeaee9781eebea (patch) | |
tree | f9456a6548c546043788dbc7bf5c59a5601bebb6 | |
parent | 39cc09dfc302514bc536c437ba10a2c1325aab07 (diff) | |
download | wallabag-5846b0f1b32f7f9b99a3c20acfeeaee9781eebea.tar.gz wallabag-5846b0f1b32f7f9b99a3c20acfeeaee9781eebea.tar.zst wallabag-5846b0f1b32f7f9b99a3c20acfeeaee9781eebea.zip |
[change] getConfigUser is now a public function
-rw-r--r-- | inc/poche/Database.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index bf67de2a..c233eda1 100644 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -74,7 +74,7 @@ class Database { | |||
74 | return TRUE; | 74 | return TRUE; |
75 | } | 75 | } |
76 | 76 | ||
77 | private function getConfigUser($id) { | 77 | public function getConfigUser($id) { |
78 | $sql = "SELECT * FROM users_config WHERE user_id = ?"; | 78 | $sql = "SELECT * FROM users_config WHERE user_id = ?"; |
79 | $query = $this->executeQuery($sql, array($id)); | 79 | $query = $this->executeQuery($sql, array($id)); |
80 | $result = $query->fetchAll(); | 80 | $result = $query->fetchAll(); |