Clear cache when installing plugins

This commit is contained in:
Matias Griese
2021-10-26 20:42:35 +03:00
parent 87ac8fb0cd
commit 177ff7c929
2 changed files with 6 additions and 0 deletions

View File

@@ -118,6 +118,8 @@ class Gpm
}
}
Cache::clearCache();
return $messages ?: true;
}
@@ -190,6 +192,8 @@ class Gpm
}
}
Cache::clearCache();
return true;
}
@@ -277,6 +281,7 @@ class Gpm
}
Folder::delete($tmp_zip);
Cache::clearCache();
return true;
}