summaryrefslogtreecommitdiffstats
path: root/lib/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/user.php')
-rw-r--r--lib/user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/user.php b/lib/user.php
index 35b259550f8..e69fef95a13 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -608,8 +608,8 @@ class OC_User {
* @return bool
*/
public static function isEnabled($userid) {
- $sql = "SELECT `userid` FROM `*PREFIX*preferences`'
- .' WHERE `userid` = ? AND `appid` = ? AND `configkey` = ? AND `configvalue` = ?";
+ $sql = 'SELECT `userid` FROM `*PREFIX*preferences`'
+ .' WHERE `userid` = ? AND `appid` = ? AND `configkey` = ? AND `configvalue` = ?';
$stmt = OC_DB::prepare($sql);
if ( ! OC_DB::isError($stmt) ) {
$result = $stmt->execute(array($userid, 'core', 'enabled', 'false'));