aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index d1157bdaf..8a39e4435 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -84,6 +84,12 @@
}
+ /**
+ * Populates the ->getUrl() method for blog objects
+ *
+ * @param ElggEntity $blogpost Blog post entity
+ * @return string Blog post URL
+ */
function blog_url($blogpost) {
global $CONFIG;