summaryrefslogtreecommitdiff
path: root/help_text.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-08-14 10:35:02 +0100
committerGreg Roach <fisharebest@gmail.com>2014-08-14 10:35:02 +0100
commitb91ce4e162976f6e4d1c308524ea1bf460430bc8 (patch)
treece015689ba12e7e28a481cff8c199f41fbfb29f8 /help_text.php
parentbcb3a83fa321f35dade827c7d6b46f73a8fd84a9 (diff)
downloadwebtrees-b91ce4e162976f6e4d1c308524ea1bf460430bc8.tar.gz
webtrees-b91ce4e162976f6e4d1c308524ea1bf460430bc8.tar.bz2
webtrees-b91ce4e162976f6e4d1c308524ea1bf460430bc8.zip
Import classes, per PSR autoloading standards
Diffstat (limited to 'help_text.php')
-rw-r--r--help_text.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/help_text.php b/help_text.php
index 6f770e579a..0aae054dc9 100644
--- a/help_text.php
+++ b/help_text.php
@@ -26,6 +26,8 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+use WT\Auth;
+
define('WT_SCRIPT_NAME', 'help_text.php');
require './includes/session.php';
@@ -1332,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\Auth::isAdmin()) {
+ if (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.').