Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Declare StaticPublisher::set_static_publisher_theme() and

StaticPublisher::static_publisher_theme() as static, since they're only
called statically. This is a fix for E_STRICT compliance.
  • Loading branch information...
commit 5e567cbf80976f04019416a534096c7ed816b0df 1 parent 03a8aa5
@halkyon halkyon authored
Showing with 9 additions and 8 deletions.
  1. +9 −8 code/staticpublisher/StaticPublisher.php
View
17 code/staticpublisher/StaticPublisher.php
@@ -26,7 +26,15 @@
abstract function publishPages($pages);
abstract function unpublishPages($pages);
+
+ static function set_static_publisher_theme($theme){
+ self::$static_publisher_theme=$theme;
+ }
+ static function static_publisher_theme(){
+ return self::$static_publisher_theme;
+ }
+
static function echo_progress() {
return (boolean)self::$echo_progress;
}
@@ -144,13 +152,6 @@ function externalReferencesFor($content) {
return $urls;
}
-
- function set_static_publisher_theme($theme){
- self::$static_publisher_theme=$theme;
- }
-
- function static_publisher_theme(){
- return self::$static_publisher_theme;
- }
+
}
Please sign in to comment.
Something went wrong with that request. Please try again.