Vergleich inc/class_plugins.php - 1.6.7 - 1.6.12

  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 5747 2012-02-11 17:13:55Z ralgith $

 * $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;
}