diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-05-06 17:33:46 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-05-09 22:48:46 +0100 |
| commit | 7b541d97578203274336ecb7a1d9f546b2b6e3d0 (patch) | |
| tree | a0f50aded995c520ecd13738b904b5f416222651 /help_text.php | |
| parent | 5bbbf36fa6fe99e2bfe820d52a4a590c980db34e (diff) | |
| download | webtrees-7b541d97578203274336ecb7a1d9f546b2b6e3d0.tar.gz webtrees-7b541d97578203274336ecb7a1d9f546b2b6e3d0.tar.bz2 webtrees-7b541d97578203274336ecb7a1d9f546b2b6e3d0.zip | |
Refactor global user functions into new User/Auth classes
Diffstat (limited to 'help_text.php')
| -rw-r--r-- | help_text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/help_text.php b/help_text.php index 80b7cd0f5e..d53a06333d 100644 --- a/help_text.php +++ b/help_text.php @@ -1334,7 +1334,7 @@ case 'pending_changes': '</p><p>'. WT_I18N::translate('Pending changes are only shown when your account has permission to edit. When you log out, you will no longer be able to see them. Also, pending changes are only shown on certain pages. For example, they are not shown in lists, reports, or search results.'). '</p>'; - if (WT_USER_IS_ADMIN) { + if (\WT\Auth::isAdmin()) { $text.= '<p>'. WT_I18N::translate('Each user account has an option to “automatically accept changes”. When this is enabled, any changes made by that user are saved immediately. Many administrators enable this for their own user account.'). |
