misuzu/tools/recalc-perms

9 lines
201 B
Text
Raw Permalink Normal View History

2023-08-30 22:37:21 +00:00
#!/usr/bin/env php
<?php
namespace Misuzu;
require_once __DIR__ . '/../misuzu.php';
$msz->config->removeValues('perms.needsRecalc');
$msz->perms->precalculatePermissions($msz->forumCtx->categories);