Na, not again ... ;-(
[core.git] / inc / classes / main / feature / class_FrameworkFeature.php
index 46d61ff03f2aad9aa6a8077d1a7e98642305bd7a..dbfe168afe56443e9f9c2dc6b143f4346e030121 100644 (file)
@@ -22,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class FrameworkFeature extends BaseFrameworkSystem implements Feature {
+class FrameworkFeature extends BaseFrameworkSystem {
        // Exception code constants
        const EXCEPTION_FEATURE_METHOD_NOT_CALLABLE = 0x400;
 
@@ -140,7 +140,7 @@ class FrameworkFeature extends BaseFrameworkSystem implements Feature {
                assert(self::isFeatureAvailable($featureName));
 
                // Array for call-back
-               $callable = array(self::$enabledFeatures[$featureName]['instance'], $featureMethod);
+               $callable = array(self::$enabledFeatures[$featureName]['instance'], 'featureMethod' . self::convertToClassName($featureMethod));
 
                // So is the feature's method callable?
                if (!is_callable($callable)) {