public static function removeAllSettingsForPlugin($pluginName)
    {
        try {
            $table = Common::prefixTable('plugin_setting');
            Db::get()->query(sprintf('DELETE FROM %s WHERE plugin_name = ?', $table), array($pluginName));
        } catch (Exception $e) {
            if ($e->getCode() != 42) {
                // ignore table not found error, which might occur when updating from an older version of Piwik
                throw $e;
            }
        }
    }
public static function removeAllSettingsForPlugin($pluginName)
    {
        try {
            $table = Common::prefixTable('plugin_setting');
            Db::get()->query(sprintf('DELETE FROM %s WHERE plugin_name = ?', $table), array($pluginName));
        } catch (Exception $e) {
            if ($e->getCode() != 42) {
                // ignore table not found error, which might occur when updating from an older version of Piwik
                throw $e;
            }
        }
    }
public static function removeAllSettingsForPlugin ( $ pluginName ) { try { $ table = Common :: prefixTable ( 'plugin_setting' ) ; Db :: get ( ) -> query ( sprintf ( 'DELETE FROM %s WHERE plugin_name = ?' , $ table ) , array ( $ pluginName ) ) ; } catch ( Exception $ e ) { if ( $ e -> getCode ( ) != 42 ) { // ignore table not found error, which might occur when updating from an older version of Piwik throw $ e ; } } }
Unsets all settings for a plugin. The settings will be removed from the database. Used when
a plugin is uninstalled.

@internal
@param string $pluginName
@throws \Exception If the `$userLogin` is empty.
Unsets all settings for a plugin . The settings will be removed from the database . Used when a plugin is uninstalled .