rev.30 for poll
This commit is contained in:
parent
01a9383a39
commit
c5e0be935f
3 changed files with 20 additions and 1 deletions
|
@ -1175,4 +1175,22 @@ class Update extends Admin
|
|||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* rev.29 to rev.30
|
||||
*/
|
||||
protected function stageNumber29(array $args): ?int
|
||||
{
|
||||
$coreConfig = new CoreConfig($this->c->DIR_CONFIG . '/' . self::CONFIG_FILE);
|
||||
|
||||
$coreConfig->add(
|
||||
'multiple=>Poll',
|
||||
'\\ForkBB\\Models\\Pages\\Poll::class',
|
||||
'Feed'
|
||||
);
|
||||
|
||||
$coreConfig->save();
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ if (
|
|||
}
|
||||
$c->PUBLIC_URL = $c->BASE_URL . $forkPublicPrefix;
|
||||
|
||||
$c->FORK_REVISION = 29;
|
||||
$c->FORK_REVISION = 30;
|
||||
$c->START = $forkStart;
|
||||
$c->DIR_APP = __DIR__;
|
||||
$c->DIR_PUBLIC = $forkPublic;
|
||||
|
|
|
@ -191,6 +191,7 @@ return [
|
|||
'Report' => \ForkBB\Models\Pages\Report::class,
|
||||
'Email' => \ForkBB\Models\Pages\Email::class,
|
||||
'Feed' => \ForkBB\Models\Pages\Feed::class,
|
||||
'Poll' => \ForkBB\Models\Pages\Poll::class,
|
||||
'ProfileView' => \ForkBB\Models\Pages\Profile\View::class,
|
||||
'ProfileEdit' => \ForkBB\Models\Pages\Profile\Edit::class,
|
||||
'ProfileConfig' => \ForkBB\Models\Pages\Profile\Config::class,
|
||||
|
|
Loading…
Add table
Reference in a new issue