Commit 6b5a46d3 authored by Sven Rhinow's avatar Sven Rhinow

add version_compare only for >= 3.2

parent f6325277
......@@ -38,5 +38,8 @@ class srlayerRunonceJob extends Controller
}
}
$srlayerRunonceJob = new srlayerRunonceJob();
$srlayerRunonceJob->run();
if (version_compare(VERSION,'3.2','>='))
{
$srlayerRunonceJob = new srlayerRunonceJob();
$srlayerRunonceJob->run();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment