]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Bring back title to DocAction
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 15 Sep 2015 12:26:33 +0000 (14:26 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 15 Sep 2015 12:26:33 +0000 (14:26 +0200)
actions/doc.php

index e0fd21fcefc3821a00503939223d80f91a21fc5a..694544dd038c0a02ce6ec47e15bcdb835546535d 100644 (file)
@@ -57,6 +57,11 @@ class DocAction extends ManagedAction
         $this->loadDoc();
     }
 
+    public function title()
+    {
+        return ucfirst($this->title);
+    }
+
     /**
      * Display content.
      *
@@ -71,12 +76,7 @@ class DocAction extends ManagedAction
 
     function showNoticeForm()
     {
-        // no title
-    }
-
-    function showPageTitle()
-    {
-        // no title
+        // no notice form
     }
 
     /**