From 7d3dc7de15d3abea3f1274981ab4af779f0020be Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 5 Oct 2014 16:35:53 +0100 Subject: Use consistent terminology (preference versus setting) --- library/WT/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/WT/Auth.php') diff --git a/library/WT/Auth.php b/library/WT/Auth.php index ee4a7ae9d7..066cc1dbfa 100644 --- a/library/WT/Auth.php +++ b/library/WT/Auth.php @@ -46,7 +46,7 @@ class Auth { $user = self::user(); } - return $user && $user->getSetting('canadmin') === '1'; + return $user && $user->getPreference('canadmin') === '1'; } /** -- cgit v1.3