You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check if site is disabled - send API callback with error
109
-
if ( empty( $this->site_data['site_enabled'] ) ) {
110
-
$this->capture_error(
111
-
sprintf( 'Site %s is disabled. Enable it with `ee site enable %s` to create backup.', $this->site_data['site_url'], $this->site_data['site_url'] ),
112
-
self::ERROR_TYPE_VALIDATION,
113
-
1003
114
-
);
115
-
EE::error( sprintf( 'Site %s is disabled. Enable it with `ee site enable %s` to create backup.', $this->site_data['site_url'], $this->site_data['site_url'] ) );
106
+
if ( ! $this->site_data['site_enabled'] ) {
107
+
$error_msg = sprintf( 'Site %s is disabled. Enable it with `ee site enable %s` to create backup.', $this->site_data['site_url'], $this->site_data['site_url'] );
0 commit comments