summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-09-27 17:58:44 +0200
committerSimon Rettberg2023-09-27 17:58:44 +0200
commit10e6736849d6b7d5fb7b88c552eb5528f54fd7c2 (patch)
treed38e79299ad9a20cf968d05f74786ae44ee76ce6
parent[eventlog] Fix php notice (undefined index) (diff)
downloadslx-admin-10e6736849d6b7d5fb7b88c552eb5528f54fd7c2.tar.gz
slx-admin-10e6736849d6b7d5fb7b88c552eb5528f54fd7c2.tar.xz
slx-admin-10e6736849d6b7d5fb7b88c552eb5528f54fd7c2.zip
[sysconfig] PHP Warning: Private methods cannot be final as they are never overridden by other classes
-rw-r--r--modules-available/sysconfig/inc/configmodule.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/sysconfig/inc/configmodule.inc.php b/modules-available/sysconfig/inc/configmodule.inc.php
index 269146d3..3b877d10 100644
--- a/modules-available/sysconfig/inc/configmodule.inc.php
+++ b/modules-available/sysconfig/inc/configmodule.inc.php
@@ -212,7 +212,7 @@ abstract class ConfigModule
*/
protected abstract function generateInternal($tgz, $parent);
- private final function createFileName()
+ private function createFileName()
{
return CONFIG_TGZ_LIST_DIR . '/modules/'
. $this->moduleType() . '_id-' . $this->moduleId . '__' . mt_rand() . '-' . time() . '.tgz';
@@ -413,7 +413,7 @@ abstract class ConfigModule
return $ret;
}
- private final function markUpdated($tmpTgz)
+ private function markUpdated($tmpTgz)
{
if ($this->moduleId === 0)
ErrorHandler::traceError('ConfigModule::markUpdated called with invalid module id!');
@@ -460,7 +460,7 @@ abstract class ConfigModule
return $retval;
}
- private final function markFailed()
+ private function markFailed()
{
if ($this->moduleId === 0)
ErrorHandler::traceError('ConfigModule::markFailed called with invalid module id!');