Commit 4c4f5b65 authored by ale's avatar ale Committed by lechuck

disable wp-piwik global update script

parent f2dc3b84
<?php <?php
/**** a/i patch: DISABLE THIS GLOBAL UPDATE
// Get & delete old version's options // Get & delete old version's options
if (self::$settings->checkNetworkActivation ()) { if (self::$settings->checkNetworkActivation ()) {
$oldGlobalOptions = get_site_option ( 'wp-piwik_global-settings', array () ); $oldGlobalOptions = get_site_option ( 'wp-piwik_global-settings', array () );
...@@ -38,4 +40,6 @@ if (!$this->isConfigured()) { ...@@ -38,4 +40,6 @@ if (!$this->isConfigured()) {
self::$settings->setOption ( $key, $value ); self::$settings->setOption ( $key, $value );
} }
self::$settings->save (); self::$settings->save ();
\ No newline at end of file
****/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment