@@ 108-115 (lines=8) @@ | ||
105 | $output = $this->ignore_mysql_password_warning( $output ); |
|
106 | ||
107 | // If there were errors connecting then track them |
|
108 | if ( $output ) { |
|
109 | if ( $return_status === 0 ) { |
|
110 | $this->warning( __CLASS__, implode( ', ', $output ) ); |
|
111 | } else { |
|
112 | $this->error( __CLASS__, implode( ', ', $output ) ); |
|
113 | return false; |
|
114 | } |
|
115 | } |
|
116 | ||
117 | return true; |
|
118 | ||
@@ 162-168 (lines=7) @@ | ||
159 | $output = $this->ignore_mysql_password_warning( $output ); |
|
160 | ||
161 | // Track any errors |
|
162 | if ( $output ) { |
|
163 | if ( $return_status === 0 ) { |
|
164 | $this->warning( __CLASS__, implode( ', ', $output ) ); |
|
165 | } else { |
|
166 | $this->error( __CLASS__, implode( ', ', $output ) ); |
|
167 | } |
|
168 | } |
|
169 | ||
170 | return $this->verify_backup(); |
|
171 |
@@ 96-102 (lines=7) @@ | ||
93 | exec( $command, $output, $return_status ); |
|
94 | ||
95 | // Track any errors |
|
96 | if ( $output ) { |
|
97 | if ( $return_status === 0 ) { |
|
98 | $this->warning( __CLASS__, implode( ', ', $output ) ); |
|
99 | } else { |
|
100 | $this->error( __CLASS__, implode( ', ', $output ) ); |
|
101 | } |
|
102 | } |
|
103 | ||
104 | return $this->verify_backup(); |
|
105 |