Skip to content

Commit

Permalink
Merge pull request #3257 from GawainLynch/hotfix/baseextension-abstra…
Browse files Browse the repository at this point in the history
…ct-php53

Make BaseExtension::initialize() non-abstract again to deal with PHP <5.3.10
  • Loading branch information
bobdenotter committed Mar 26, 2015
2 parents c413ae6 + d0efdd8 commit a7c2287
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/BaseExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,13 @@ public function getName()
* - extending the menu
*
* An empty default implementation is given for convenience.
*
* @deprecated This will be made 'abstract' when support for PHP 5.3 is dropped
* @see https://github.com/bolt/bolt/issues/3230
*/
abstract public function initialize();
public function initialize()
{
}

/**
* Allow use of the extension's Twig function in content records when the
Expand Down

0 comments on commit a7c2287

Please sign in to comment.