Skip to content

Commit e4042e8

Browse files
committed
clean plugin configuration
1 parent ab1da5a commit e4042e8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

hook.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ function plugin_fields_uninstall()
165165
'itemtype' => ['LIKE' , 'PluginFields%'],
166166
]);
167167

168+
// clean configuration values
169+
$config = new Config();
170+
$config->deleteByCriteria([
171+
'context' => 'plugin_fields',
172+
]);
173+
168174
return true;
169175
}
170176

0 commit comments

Comments
 (0)