Skip to content

Commit 54ff3f4

Browse files
fwoldtAndré R
authored andcommitted
Fix EZP-29591: deprecated PHP4 style class constructor (#16)
* Fix: deprecated PHP4 style class constructor Use of deprecated PHP4 style class constructor is not supported since PHP 7. * Fix: deprecated PHP4 style class constructor Use of deprecated PHP4 style class constructor is not supported since PHP 7 (cherry picked from commit 190c645)
1 parent fd5d96d commit 54ff3f4

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

packages/ezstarrating_extension/ezextension/ezstarrating/autoloads/ezsrtemplateoperators.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525

2626
class ezsrTemplateOperators
2727
{
28-
function ezsrTemplateOperators()
29-
{
30-
}
31-
3228
function operatorList()
3329
{
3430
return array( 'fetch_starrating_data',
@@ -78,4 +74,4 @@ function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $curr
7874
}
7975
}
8076

81-
?>
77+
?>

packages/ezstarrating_extension/ezextension/ezstarrating/classes/ezsrratingfilter.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030

3131
class ezsrRatingFilter
3232
{
33-
function ezsrRatingFilter()
34-
{
35-
}
36-
3733
function createSqlParts( $params )
3834
{
3935
/*
@@ -81,4 +77,4 @@ function createSqlParts( $params )
8177
'group_by' => 'GROUP BY ezcontentobject.id');
8278
}
8379
}
84-
?>
80+
?>

0 commit comments

Comments
 (0)