Skip to content

Commit

Permalink
system cron plugin was still including defines, even though this is n…
Browse files Browse the repository at this point in the history
…ow handled by the fabrik sys plugin
  • Loading branch information
pollen8 committed Aug 25, 2011
1 parent 3bf69ce commit 57f471f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions plugins/system/fabrikcron/fabrikcron.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,18 +182,6 @@ function doCron()
}
}

/**
* @since 3.0
* need to call this here otherwise you get class exists error
*/

function onAfterInitialise()
{
jimport('joomla.filesystem.file');
$defines = JFile::exists(JPATH_SITE.DS.'components'.DS.'com_fabrik'.DS.'user_defines.php') ? JPATH_SITE.DS.'components'.DS.'com_fabrik'.DS.'user_defines.php' : JPATH_SITE.DS.'components'.DS.'com_fabrik'.DS.'defines.php';
require_once( $defines );
}

/**
* perform the actual cron after the page has rendered
*/
Expand Down

0 comments on commit 57f471f

Please sign in to comment.