Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make BaseExtension::initialize() non-abstract again to deal with PHP <5.3.10 #3257

Merged
merged 1 commit into from
Mar 26, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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