misuzu/tools/recalc-perms

8 lines
225 B
PHP
Executable file

#!/usr/bin/env php
<?php
namespace Misuzu;
require_once __DIR__ . '/../misuzu.php';
$msz->getConfig()->removeValues('perms.needsRecalc');
$msz->getPerms()->precalculatePermissions($msz->getForumContext()->getCategories());