From: Aaron Schulz Date: Fri, 18 Jan 2013 00:32:19 +0000 (-0800) Subject: Moved $function definition up to make IDE happy. X-Git-Tag: 1.31.0-rc.0~20985^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=4304146501c656b4c205a33c39d2ec3dd78fab3d;p=lhc%2Fweb%2Fwiklou.git Moved $function definition up to make IDE happy. Change-Id: Ie42ba484c8c2f65a2ae233f0176a286578555cb2 --- diff --git a/includes/filebackend/SwiftFileBackend.php b/includes/filebackend/SwiftFileBackend.php index 285010a881..699648e99c 100644 --- a/includes/filebackend/SwiftFileBackend.php +++ b/includes/filebackend/SwiftFileBackend.php @@ -1283,8 +1283,8 @@ class SwiftFileBackend extends FileBackendStore { $cfOps = $batch->execute(); foreach ( $cfOps as $index => $cfOp ) { $status = Status::newGood(); + $function = '_getResponse' . $fileOpHandles[$index]->call; try { // catch exceptions; update status - $function = '_getResponse' . $fileOpHandles[$index]->call; $this->$function( $cfOp, $status, $fileOpHandles[$index]->params ); $this->purgeCDNCache( $fileOpHandles[$index]->affectedObjects ); } catch ( CloudFilesException $e ) { // some other exception?