31603 progress bar update not clearing widget cache
[com.zyxware.civiwci.git] / CRM / Wci / Form / ProgressBar.php
index 948080159f64cec231886092e159a7740b9dac14..866aff1760f2d5400519ffd71459b4b71caa5aaa 100644 (file)
@@ -190,6 +190,7 @@ class CRM_Wci_Form_ProgressBar extends CRM_Core_Form {
         }
 
         $transaction->commit();
+        CRM_Wci_BAO_WidgetCache::clearCache($this->_id);
         CRM_Core_Session::setStatus(ts('Progress bar created successfuly'), '', 'success');
         CRM_Utils_System::redirect('progress-bar?reset=1');
       }