mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-16 14:00:56 +08:00
finish searchbox build + upload/edit form quality render
This commit is contained in:
@@ -983,6 +983,12 @@ function clear_staff_message_cache()
|
||||
\App\Repositories\MessageRepository::updateStaffMessageCountCache(false);
|
||||
}
|
||||
|
||||
function clear_search_box_cache($id)
|
||||
{
|
||||
do_log("clear_search_box_cache: $id");
|
||||
\Nexus\Database\NexusDB::cache_del("search_box_content_{$id}");
|
||||
}
|
||||
|
||||
function user_can($permission, $fail = false, $uid = 0): bool
|
||||
{
|
||||
$log = "permission: $permission, fail: $fail, user: $uid";
|
||||
|
||||
Reference in New Issue
Block a user