plugins/sys/admin_modules/yf_manage_cron.class.php
Method edit
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function edit()
{
$id = (int) ($_GET['id']);
if ( ! $id) {
return js_redirect(url('/@object'), false, 'Empty ID');
Method show
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function show()
{
$path = glob(YF_PATH . 'share/cron_jobs/*cron.php') + glob(YF_PATH . 'plugins/*/share/cron_jobs/*cron.php');
foreach ((array) $path as $name) {