streams/Zotlabs/Update/_1228.php

23 lines
316 B
PHP
Raw Normal View History

2019-02-28 23:14:22 +00:00
<?php
namespace Zotlabs\Update;
use Zotlabs\Lib\PConfig;
class _1228 {
function run() {
$r = q("select channel_id from channel where true");
if ($r) {
foreach ($r as $rv) {
PConfig::Set($rv['channel_id'],'perm_limits','moderated', (string) PERMS_SPECIFIC);
}
}
return UPDATE_SUCCESS;
}
}