changeset 127:14959382c901

Mark static function.
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Wed, 28 Dec 2022 01:05:01 +0100
parents 7858ceb293d1
children ef487503dded
files Options.inc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Options.inc	Wed Dec 28 01:04:22 2022 +0100
+++ b/Options.inc	Wed Dec 28 01:05:01 2022 +0100
@@ -94,7 +94,7 @@
    * @param $value string to replace values in
    * @return the processed string
    */
-  function replacePlaceholders($value)
+  static function replacePlaceholders($value)
   {
     $value = preg_replace('/%HOST%/', $_SERVER['HTTP_HOST'], $value);
     return $value;
@@ -304,4 +304,4 @@
     }
   }
 }
-?>
\ No newline at end of file
+?>