From: Mikael Nordfeldth <mmn@hethane.se>
Date: Fri, 3 Apr 2015 18:11:55 +0000 (+0200)
Subject: oEmbed helper never finished because of "break 2;"
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dc30b6b8fb5da2c03c15358df28e0f4e1884f2b;p=quix0rs-gnu-social.git

oEmbed helper never finished because of "break 2;"
---

diff --git a/plugins/Oembed/lib/oembedhelper.php b/plugins/Oembed/lib/oembedhelper.php
index 7435a38919..3454ac7fc7 100644
--- a/plugins/Oembed/lib/oembedhelper.php
+++ b/plugins/Oembed/lib/oembedhelper.php
@@ -120,7 +120,6 @@ class oEmbedHelper
             case 'service':
                 $api = common_config('oembed', 'endpoint');
                 common_log(LOG_INFO, 'Using service API endpoint ' . $api);
-                break 2;
                 break;
             }
         }