]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Index and language fixes
[mailer.git] / inc / wrapper-functions.php
index f7ef134affe92ecda299c3aa06a43b80a3180055..236300372037b127ae81da81092a936139fb5aa3 100644 (file)
@@ -690,5 +690,15 @@ function getPhpCaching () {
        return $GLOBALS['php_caching'];
 }
 
+// Checks wether the admin hash is set
+function isAdminHashSet ($admin) {
+       return isset($GLOBALS['cache_array']['admin']['password'][$admin]);
+}
+
+// Setter for admin hash
+function setAdminHash ($admin, $hash) {
+       $GLOBALS['cache_array']['admin']['password'][$admin] = $hash;
+}
+
 // [EOF]
 ?>