From: Antonio Ospite <ao2@ao2.it>
Date: Wed, 18 May 2016 20:35:28 +0000 (+0200)
Subject: tweeper.php: rename DomDocument() to DOMDocument()
X-Git-Tag: v0.6~26
X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/ad76e6944a58986c0564ddf22f8eba4289b455d1?ds=inline;hp=-c

tweeper.php: rename DomDocument() to DOMDocument()

DOMDocument() is the more used form, it is also already used in some
other parts of the file.
---

ad76e6944a58986c0564ddf22f8eba4289b455d1
diff --git a/tweeper.php b/tweeper.php
index 579aae1..cc261ef 100644
--- a/tweeper.php
+++ b/tweeper.php
@@ -150,7 +150,7 @@ class Tweeper {
       return '';
     }
 
-    $dom = new DomDocument();
+    $dom = new DOMDocument();
     $enc = $dom->createElement('enclosure');
     $enc->setAttribute('url', $url_info['url']);
     $enc->setAttribute('length', $url_info['download_content_length']);