misuzu/tools/recalc-perms

9 lines
225 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->getConfig()->removeValues('perms.needsRecalc');
$msz->getPerms()->precalculatePermissions($msz->getForumContext()->getCategories());