Wrapper function introduced, double-quotes converted to single:
[mailer.git] / inc / wrapper-functions.php
index ffd748ab413feec03d9b2724367adb74e0c392ae..81fbc2f8b03e1ee70af368e25d0b0e0658ac7259 100644 (file)
@@ -2441,5 +2441,14 @@ function firstCharUpperCase ($str) {
        return ucfirst(strtolower($str));
 }
 
+// Shortens calls with configuration entry as first argument (the second will become obsolete in the future)
+function createConfigurationTimeSelections ($configEntry, $stamps) {
+       // Get the configuration entry
+       $configValue = getConfig($configEntry);
+
+       // Call inner method
+       return createTimeSelections($configValue, $configEntry, $stamps);
+}
+
 // [EOF]
 ?>