diff --git a/lib/classes/patch/385alpha1a.php b/lib/classes/patch/385alpha1a.php new file mode 100644 index 0000000000..b867d7ca8f --- /dev/null +++ b/lib/classes/patch/385alpha1a.php @@ -0,0 +1,64 @@ +release; + } + + /** + * {@inheritdoc} + */ + public function require_all_upgrades() + { + return false; + } + + /** + * {@inheritdoc} + */ + public function concern() + { + return $this->concern; + } + + /** + * {@inheritdoc} + */ + public function apply(base $appbox, Application $app) + { + $config = $app['phraseanet.configuration']->getConfig(); + + $config['static-file'] = array( + 'enabled' => false, + 'type' => '', + ); + + $app['phraseanet.configuration']->setConfig($config); + + return true; + } +}