Changeset 3749 for extensions/ContactForm/classes/cf_plugin.class.php
- Timestamp:
- Aug 18, 2009, 4:52:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ContactForm/classes/cf_plugin.class.php
r3748 r3749 55 55 56 56 function blockmanager_apply($aMenuRefArray) { 57 if (!$this->check_ allowed()) {57 if (!$this->check_menu_adding()) { 58 58 return; 59 59 } … … 426 426 return $infos; 427 427 } 428 428 protected function check_menu_adding() { 429 return ($this->config->get_value(CF_CFG_MENU_LINK) and 430 $this->check_allowed()); 431 } 429 432 protected function check_allowed() { 430 433 if (is_a_guest() and !$this->config->get_value(CF_CFG_ALLOW_GUEST)) {
Note: See TracChangeset
for help on using the changeset viewer.