summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-15 16:40:05 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-15 16:40:05 +0100
commitc8aba9e4d5ff8fd2f13ec4e96c206c726df568b0 (patch)
treed2074fcd322ff094c51971b22e24bec2354e2070 /plugins
parent58cad39ab806494dbc6f440ce4f35793f5d7f20c (diff)
downloadliberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.tar.gz
liberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.tar.bz2
liberty-c8aba9e4d5ff8fd2f13ec4e96c206c726df568b0.zip
Namespace fixes
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/storage.bitfile.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/storage.bitfile.php b/plugins/storage.bitfile.php
index 5a0a201..18f90d8 100755
--- a/plugins/storage.bitfile.php
+++ b/plugins/storage.bitfile.php
@@ -8,6 +8,7 @@
namespace Bitweaver\Liberty;
use Bitweaver\BitBase;
+use Bitweaver\KernelTools;
global $gLibertySystem, $gBitSystem, $gBitSmarty, $gBitThemes;
/**
@@ -128,7 +129,7 @@ function bit_files_expunge( $pStorageId ) {
if( file_exists( $sourceFile )) {
// make sure this is a valid storage directory before removing it
if( preg_match( '!/users/\d+/\d+/\w+/\d+/.+!', $sourceFile )) {
- \Bitweaver\unlink_r( dirname( $sourceFile ));
+ \Bitweaver\KernelTools::unlink_r( dirname( $sourceFile ));
} else {
unlink( $sourceFile );
}