misuzu/tools/recalc-perms

9 lines
201 B
Text
Raw 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->getForum());