Fix legacy constructors

These go way back to php 4 and don't need to be like this for any
reason. Currently error handling is acting up when these throw an
error.
This commit is contained in:
Lucas Bickel 2017-09-08 19:53:29 +02:00
parent 58875a2187
commit 440e8ce8c9
3 changed files with 3 additions and 8 deletions

View file

@ -14,7 +14,7 @@ class ProxyStorageBackend extends StorageBackend
* Receives the file's storage backend and instantiates the appropriate
* object.
*/
public function ProxyStorageBackend($storageBackend)
public function __construct($storageBackend)
{
$CC_CONFIG = Config::getConfig();