readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / main / helper / web / blocks / class_WebBlockHelper.php
index 64aafc77a50f0f2f04cda21a43e787e90aafab33..23e99d98345faa50cd2cd37e23d8aa6b174a2efc 100644 (file)
@@ -83,7 +83,7 @@ class WebBlockHelper extends BaseWebHelper implements HelpableTemplate {
         * @return      $withRegistration       Wether with registration date
         */
        public function ifIncludeRegistrationStamp () {
-               $withRegistration = ($this->getConfigInstance()->readConfig('block_shows_registration') == 'Y');
+               $withRegistration = ($this->getConfigInstance()->getConfigEntry('block_shows_registration') == 'Y');
                return $withRegistration;
        }