Skip to content

Commit c9eb7df

Browse files
alamrikuKyon147
andauthored
changed the if condition for checking freemium flag (#280)
Co-authored-by: Luke Walsh <kyon.rf@gmail.com>
1 parent e4a5ffe commit c9eb7df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Messaging/Jobs/AppUninstalledJob.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ public function handle(
8181
$shopCommand->clean($shopId);
8282

8383
// Check freemium mode
84-
$freemium = Util::getShopifyConfig('billing_freemium_enabled');
85-
if ($freemium === true) {
84+
if (Util::getShopifyConfig('billing_freemium_enabled') === true) {
8685
// Add the freemium flag to the shop
8786
$shopCommand->setAsFreemium($shopId);
8887
}

0 commit comments

Comments
 (0)