作者 邓超

删除文件夹

@@ -224,11 +224,6 @@ class Folder extends Base { @@ -224,11 +224,6 @@ class Folder extends Base {
224 // 远程创建 224 // 远程创建
225 $ret = $mail->client->folderDelete($folder['origin_folder']); 225 $ret = $mail->client->folderDelete($folder['origin_folder']);
226 226
227 - if($ret[0] === false){  
228 - app()->e($ret[1]);  
229 - }  
230 -  
231 - // 插入数据  
232 $row = db()->delete(folderSql::$table,[ 227 $row = db()->delete(folderSql::$table,[
233 'id' => $folder['id'] 228 'id' => $folder['id']
234 ]); 229 ]);