diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-02-02 17:56:22 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-02-02 17:56:22 +0000 |
| commit | 2149074bbed89f1732f45bf9a6b760ad306a1850 (patch) | |
| tree | 3552019a20eb6a2cce231b531de546e46ebd8c34 /app/Module.php | |
| parent | a25f0a04682c4c39c1947220c90af4118c713952 (diff) | |
| download | webtrees-2149074bbed89f1732f45bf9a6b760ad306a1850.tar.gz webtrees-2149074bbed89f1732f45bf9a6b760ad306a1850.tar.bz2 webtrees-2149074bbed89f1732f45bf9a6b760ad306a1850.zip | |
WIP
Diffstat (limited to 'app/Module.php')
| -rw-r--r-- | app/Module.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module.php b/app/Module.php index 7ae01a6add..6cbb2b6ae0 100644 --- a/app/Module.php +++ b/app/Module.php @@ -249,7 +249,7 @@ abstract class Module { if (file_exists(WT_ROOT . WT_MODULES_DIR . $module_name . '/module.php')) { require_once WT_ROOT . WT_MODULES_DIR . $module_name . '/module.php'; $class = 'Webtrees\\' . $module_name . '_WT_Module'; - $interface = 'Webtrees\\' . ucfirst($component) . 'Interface'; + $interface = 'Webtrees\\Module' . ucfirst($component) . 'Interface'; $module = new $class; // Check that this module is still implementing the desired interface. if ($module instanceof $interface) { |
