System update (for Oliver)

This commit is contained in:
markseu 2017-06-24 23:20:48 +02:00
parent e11104aa89
commit e91ed3c50b

View file

@ -5,7 +5,7 @@
class YellowUpdate
{
const VERSION = "0.7.1";
const VERSION = "0.7.2";
var $yellow; //access to API
var $updates; //number of updates
@ -294,7 +294,7 @@ class YellowUpdate
function updateSoftware($force = false)
{
$statusCode = 200;
opcache_reset();
if(function_exists("opcache_reset")) opcache_reset();
$path = $this->yellow->config->get("pluginDir");
foreach($this->yellow->toolbox->getDirectoryEntries($path, "/^.*\.zip$/", true, false) as $entry)
{