diff mgallery.inc.php @ 113:4f95ed80583c

More cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Mar 2017 14:47:56 +0200
parents 9da8bab49711
children c803235bd0f9
line wrap: on
line diff
--- a/mgallery.inc.php	Mon Mar 20 14:39:01 2017 +0200
+++ b/mgallery.inc.php	Mon Mar 20 14:47:56 2017 +0200
@@ -254,7 +254,7 @@
 }
 
 
-function mgGetTrans($val, $che = FALSE)
+function mgGetTrans($val, $useEntities = FALSE)
 {
   global $pageLang;
 
@@ -263,7 +263,7 @@
   else
     $str = $val;
 
-  return $che ? chentities($str) : $str;
+  return $useEntities ? chentities($str) : $str;
 }
 
 
@@ -297,11 +297,6 @@
 }
 
 
-function mgGetVal($skeys, $sfmt1 = "%1", $sfmt2 = "", $func = NULL)
-{
-}
-
-
 function mgGetDValStr($type, $val)
 {
   switch ($type)