andre 3 månader sedan
förälder
incheckning
6541518b46
1 ändrade filer med 9 tillägg och 9 borttagningar
  1. 9 9
      app/Repositories/AbstractProductConfigurationRepository.php

+ 9 - 9
app/Repositories/AbstractProductConfigurationRepository.php

@@ -199,15 +199,15 @@ abstract class AbstractProductConfigurationRepository
                 $this->entries[$key] = ProductConfiguration::ofProductId($this->productId)
                 $this->entries[$key] = ProductConfiguration::ofProductId($this->productId)
                     ->ofSetting($key)
                     ->ofSetting($key)
                     ->value("value");
                     ->value("value");
-
-                logModuleCall(
-                    'ProxmoxCloudVps',
-                    __FUNCTION__,
-                    $key,
-                    'Debug remove Backup Cron',
-                    $this->productId
-                );
-
+                if($key == 'backupStorage'){
+                    logModuleCall(
+                        'ProxmoxCloudVps',
+                        __FUNCTION__,
+                        $this->entries[$key],
+                        'Debug remove Backup Cron',
+                        $this->productId
+                    );
+                }
                 return $this->entries[$key];
                 return $this->entries[$key];
             }
             }
         }
         }