@@ -53,8 +53,7 @@ discard block |
||
| 53 | 53 | } catch (Exception $e) {
|
| 54 | 54 | echo "Gearman Client unable to handle request : " . $e->getMessage(); |
| 55 | 55 | } |
| 56 | - } |
|
| 57 | - else {
|
|
| 56 | + } else {
|
|
| 58 | 57 | echo "Gearman Does Not Support"; |
| 59 | 58 | } |
| 60 | 59 | $response = "Your Albums Will successfully backuped with in few time!!!"; |
@@ -73,8 +72,7 @@ discard block |
||
| 73 | 72 | } catch (Exception $e) {
|
| 74 | 73 | echo "Gearman Client unable to handle request : " . $e->getMessage(); |
| 75 | 74 | } |
| 76 | - } |
|
| 77 | - else {
|
|
| 75 | + } else {
|
|
| 78 | 76 | echo "Gearman Does Not Support"; |
| 79 | 77 | } |
| 80 | 78 | } |
@@ -99,8 +97,7 @@ discard block |
||
| 99 | 97 | } catch (Exception $e) {
|
| 100 | 98 | echo "Gearman Client unable to handle request : " . $e->getMessage(); |
| 101 | 99 | } |
| 102 | - } |
|
| 103 | - else {
|
|
| 100 | + } else {
|
|
| 104 | 101 | echo "Gearman Does Not Support"; |
| 105 | 102 | } |
| 106 | 103 | } |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | 'data' => $fileContent, 'mimeType' => 'image/jpeg', |
| 96 | 96 | 'uploadType' => 'multipart', 'fields' => 'id') |
| 97 | 97 | ); |
| 98 | - }catch (Exception $e) { |
|
| 98 | + } catch (Exception $e) { |
|
| 99 | 99 | print "An error occurred: " . $e->getMessage(); |
| 100 | 100 | } |
| 101 | 101 | |