summaryrefslogtreecommitdiffstats
path: root/postload.php
diff options
context:
space:
mode:
Diffstat (limited to 'postload.php')
-rw-r--r--postload.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/postload.php b/postload.php
index 7341b82..f0f10fd 100644
--- a/postload.php
+++ b/postload.php
@@ -8,10 +8,8 @@ if (!is_installed()) {
$xml = new SimpleXMLElement(file_get_contents(custom_path('people.opml')));
-foreach ($xml->xpath('/opml/body/outline[@xmlUrl]') as $element)
-{
- if ($element->attributes()->xmlUrl == $_GET['url'])
- {
+foreach ($xml->xpath('/opml/body/outline[@xmlUrl]') as $element) {
+ if ($element->attributes()->xmlUrl == $_GET['url']) {
$person = new PlanetFeed(
'',
$_GET['url'],
@@ -27,4 +25,4 @@ foreach ($xml->xpath('/opml/body/outline[@xmlUrl]') as $element)
}
}
-echo 'Updating this URL is not allowed.'; \ No newline at end of file
+echo 'Updating this URL is not allowed.';