<?php
/**
 * Block 站点表卸载（原 Uninstall_site.sql）
 */
$m = \Phpcmf\Service::M();
$t = \Phpcmf\Service::M('table');
$sites = !empty($m->site) ? $m->site : [SITE_ID => SITE_ID];
foreach ($sites as $siteid) {
    $t->drop_table($m->dbprefix($siteid.'_block'), true);
}
