diff options
| author | lsces <lester@lsces.co.uk> | 2026-03-27 15:25:22 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-03-27 15:25:22 +0000 |
| commit | ffeb8d9f82705f35372bf324f56ba9dae44eed2c (patch) | |
| tree | 1b8756d56d76197e7b35fa7c71606937e618b6ba /watches.php | |
| parent | 58a06634259893011a912c380ab78cf3c1bdc10e (diff) | |
| download | users-ffeb8d9f82705f35372bf324f56ba9dae44eed2c.tar.gz users-ffeb8d9f82705f35372bf324f56ba9dae44eed2c.tar.bz2 users-ffeb8d9f82705f35372bf324f56ba9dae44eed2c.zip | |
KernelTools usage
Diffstat (limited to 'watches.php')
| -rwxr-xr-x | watches.php | 4 |
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; } |
