diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-10-05 16:35:53 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-10-05 16:35:53 +0100 |
| commit | 7d3dc7de15d3abea3f1274981ab4af779f0020be (patch) | |
| tree | b87ac9b0fbd13006acbf67bba792cfb08fb2ecf6 /library/WT/Auth.php | |
| parent | 18ba8c3ba7a2ec5b577d59cc120778edaae793e0 (diff) | |
| download | webtrees-7d3dc7de15d3abea3f1274981ab4af779f0020be.tar.gz webtrees-7d3dc7de15d3abea3f1274981ab4af779f0020be.tar.bz2 webtrees-7d3dc7de15d3abea3f1274981ab4af779f0020be.zip | |
Use consistent terminology (preference versus setting)
Diffstat (limited to 'library/WT/Auth.php')
| -rw-r--r-- | library/WT/Auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } /** |
