]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/DBA.php
Added new field to the test data
[friendica.git] / src / Database / DBA.php
index 9c3c3a52e5c4890ed7926c0683a0da4a195d016b..9825d06c683a7791fee2a9ff95e9d7ff43f0b3e2 100644 (file)
@@ -741,6 +741,17 @@ class DBA
                return DI::dba()->processlist();
        }
 
+       /**
+        * Fetch a database variable
+        *
+        * @param string $name
+        * @return string content
+        */
+       public static function getVariable(string $name)
+       {
+               return DI::dba()->getVariable($name);
+       }
+
        /**
         * Checks if $array is a filled array with at least one entry.
         *