File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
WooCommerce/Classes/Yosemite Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,8 @@ class DefaultStoresManager: StoresManager {
175175 ServiceLocator . storageManager. reset ( )
176176 ServiceLocator . productImageUploader. reset ( )
177177
178+ updateAndReloadWidgetInformation ( with: 0 )
179+
178180 NotificationCenter . default. post ( name: . logOutEventReceived, object: nil )
179181
180182 return self
@@ -501,7 +503,7 @@ private extension DefaultStoresManager {
501503 /// Updates the necesary dependencies for the widget to function correctly.
502504 /// Reloads widgets timelines.
503505 ///
504- func updateAndReloadWidgetInformation( with siteID: Int64 ) {
506+ func updateAndReloadWidgetInformation( with siteID: Int64 ? ) {
505507 // Token to fire network requests
506508 keychain. currentAuthToken = sessionManager. defaultCredentials? . authToken
507509
You can’t perform that action at this time.
0 commit comments