web/website/integrations/mybb/apply-political-groups.php
unimatrixgit 77cdf19faa Checkpoint Alpha 1.0.0.3 graphical menus and moderation evidence
Preserve the current Alpha source and artwork snapshot. See handoff/alpha-1.0.0.3 for actual deployed hashes, checks, staged follow-ups and the production pause. This checkpoint does not claim every source feature is deployed.
2026-11-02 00:05:34 +01:00

6 lines
556 B
PHP

<?php
if(PHP_SAPI!=='cli')exit(1);
$_SERVER['SCRIPT_NAME']='/dune-sso.php';$_SERVER['REQUEST_METHOD']='GET';$_SERVER['REMOTE_ADDR']='127.0.0.1';$_SERVER['HTTP_HOST']='forums.dunerealms.com';
define('IN_MYBB',1);chdir('/home/dunerealms/apps/integrations/mybb');require 'global.php';require_once './political-groups.php';
$rows=$db->simple_select('dune_accounts','website_id,uid');while($row=$db->fetch_array($rows))dune_apply_political_groups((int)$row['uid'],$row['website_id']);
echo "Player office memberships and managed seal signatures reconciled.\n";