1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 17:01:43 +02:00

Need to ensure plugin is installed

This commit is contained in:
mcfly
2008-12-03 00:48:19 +00:00
parent cf3b108577
commit e37dfcb1dc

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/event_class.php,v $
| $Revision: 1.2 $
| $Date: 2008-12-03 00:43:00 $
| $Revision: 1.3 $
| $Date: 2008-12-03 00:48:19 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
@@ -71,6 +71,8 @@ class e107_event
if(isset($pref['e_admin_events_list']) && is_array($pref['e_admin_events_list']))
{
foreach($pref['e_admin_events_list'] as $plugin)
{
if(plugInstalled($plugin))
{
$func = 'plugin_'.$plugin.'_admin_events';
if(!function_exists($func))
@@ -88,6 +90,7 @@ class e107_event
}
}
}
}
}
?>