summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-04-02 10:11:29 +0100
committerlsces <lester@lsces.co.uk>2026-04-02 10:11:29 +0100
commitd2f35d9923f9022f80e09056b659231653e1c391 (patch)
tree06aa7904603a60bc16cc4d2a6bd662257a667d68 /admin
parent7d55a7fd2b2b0087a127fb6c82405a221de82be7 (diff)
downloadsearch-d2f35d9923f9022f80e09056b659231653e1c391.tar.gz
search-d2f35d9923f9022f80e09056b659231653e1c391.tar.bz2
search-d2f35d9923f9022f80e09056b659231653e1c391.zip
Missing namespace references
Diffstat (limited to 'admin')
-rw-r--r--admin/admin_search_inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/admin_search_inc.php b/admin/admin_search_inc.php
index 5bee3c7..4db321e 100644
--- a/admin/admin_search_inc.php
+++ b/admin/admin_search_inc.php
@@ -51,19 +51,19 @@ $formSearchInts = [
if( !empty( $_REQUEST['del_index'] ) ) {
require_once SEARCH_PKG_INCLUDE_PATH.'/refresh_functions.php';
- delete_index_content_type( $_REQUEST["where"] );
+ \Bitweaver\Liberty\delete_index_content_type( $_REQUEST["where"] );
$feedback['success'] = KernelTools::tra( "The search index was successfully deleted." );
}
if( !empty( $_REQUEST['del_index_reindex'] ) ) {
require_once SEARCH_PKG_INCLUDE_PATH.'/refresh_functions.php';
- $count = rebuild_index( $_REQUEST["where"] );
+ $count = \Bitweaver\Liberty\rebuild_index( $_REQUEST["where"] );
$feedback['success'] = KernelTools::tra( "The search index was successfully deleted." ).KernelTools::tra( "Number of items re-indexed" ).": ".$count;
}
if( !empty( $_REQUEST['del_searchwords'] ) ) {
require_once SEARCH_PKG_INCLUDE_PATH.'/refresh_functions.php';
- delete_search_words_and_syllables();
+ \Bitweaver\Liberty\delete_search_words_and_syllables();
$feedback['success'] = KernelTools::tra( "The searchwords were successfully purged from the database." );
}