Vergleich inc/class_plugins.php - 1.6.8 - 1.6.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: class_plugins.php 5828 2012-05-08 16:06:16Z Tomm $

 * $Id$

 */

class pluginSystem

 */

class pluginSystem

Zeile 34Zeile 34
	{
global $cache, $plugins;
$pluginlist = $cache->read("plugins");

	{
global $cache, $plugins;
$pluginlist = $cache->read("plugins");

		if(is_array($pluginlist['active']))

		if(!empty($pluginlist['active']) && is_array($pluginlist['active']))

		{
foreach($pluginlist['active'] as $plugin)
{

		{
foreach($pluginlist['active'] as $plugin)
{

Zeile 80Zeile 80
	 */
function run_hooks($hook, &$arguments="")
{

	 */
function run_hooks($hook, &$arguments="")
{

		if(!is_array($this->hooks[$hook]))

		if(!isset($this->hooks[$hook]) || !is_array($this->hooks[$hook]))

		{
return $arguments;
}

		{
return $arguments;
}