summaryrefslogtreecommitdiff
path: root/watches.php
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 15:25:22 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 15:25:22 +0000
commitffeb8d9f82705f35372bf324f56ba9dae44eed2c (patch)
tree1b8756d56d76197e7b35fa7c71606937e618b6ba /watches.php
parent58a06634259893011a912c380ab78cf3c1bdc10e (diff)
downloadusers-ffeb8d9f82705f35372bf324f56ba9dae44eed2c.tar.gz
users-ffeb8d9f82705f35372bf324f56ba9dae44eed2c.tar.bz2
users-ffeb8d9f82705f35372bf324f56ba9dae44eed2c.zip
KernelTools usage
Diffstat (limited to 'watches.php')
-rwxr-xr-xwatches.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/watches.php b/watches.php
index 61d5346..1a622ae 100755
--- a/watches.php
+++ b/watches.php
@@ -12,9 +12,11 @@
* required setup
*/
include_once( '../kernel/includes/setup_inc.php' );
+use Bitweaver\KernelTools;
+
$user = $gBitUser->mUserId;
if (!$user) {
- $gBitSmarty->assign('msg', tra("You must log in to use this feature"));
+ $gBitSmarty->assign('msg', KernelTools::tra( "You must log in to use this feature" ));
$gBitSystem->display( 'error.tpl' , null, array( 'display_mode' => 'display' ));
die;
}