mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix undefined constant
This commit is contained in:
@@ -17,9 +17,9 @@ use Zotlabs\Lib\Config;
|
||||
* uninstall plugin on error
|
||||
*/
|
||||
function handleerrors_plugin($plugin, $notice, $log, $uninstall = false){
|
||||
logger("Addons: [" . $plugin . "] Error: ".$log, LOGGER_ERROR);
|
||||
logger("Addons: [" . $plugin . "] Error: ".$log, LOGGER_NORMAL);
|
||||
if ($notice != '') {
|
||||
notice("[" . $plugin . "] Error: ".$notice, LOGGER_ERROR);
|
||||
notice("[" . $plugin . "] Error: ".$notice);
|
||||
}
|
||||
|
||||
if ($uninstall) {
|
||||
|
||||
Reference in New Issue
Block a user