aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/pages/actions/pages/edit.php2
-rw-r--r--mod/pages/views/default/river/object/page/update.php16
-rw-r--r--mod/pages/views/default/river/object/page_top/update.php16
3 files changed, 0 insertions, 34 deletions
diff --git a/mod/pages/actions/pages/edit.php b/mod/pages/actions/pages/edit.php
index 63382f1aa..4487c67a3 100644
--- a/mod/pages/actions/pages/edit.php
+++ b/mod/pages/actions/pages/edit.php
@@ -94,8 +94,6 @@ if ($page instanceof ElggObject) {
//add to river
if ($which_river == 'new') {
add_to_river('river/object/page/create','create',get_loggedin_userid(),$page->guid);
- } else {
- add_to_river('river/object/page/update','update',get_loggedin_userid(),$page->guid);
}
// Forward to the user's profile
diff --git a/mod/pages/views/default/river/object/page/update.php b/mod/pages/views/default/river/object/page/update.php
deleted file mode 100644
index 8ae506a51..000000000
--- a/mod/pages/views/default/river/object/page/update.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-/**
- * Page update river view
- *
- * @package ElggPages
- */
-
-$performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
-$object = get_entity($vars['item']->object_guid);
-$url = $object->getURL();
-
-$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = elgg_echo("pages:river:updated", array($url)) . " ";
-$string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
-
-echo $string;
diff --git a/mod/pages/views/default/river/object/page_top/update.php b/mod/pages/views/default/river/object/page_top/update.php
deleted file mode 100644
index 611cd21e9..000000000
--- a/mod/pages/views/default/river/object/page_top/update.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-/**
- * Top page update river view
- *
- * @package ElggPages
- */
-
-$statement = $vars['statement'];
-$performed_by = $statement->getSubject();
-$object = $statement->getObject();
-
-$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = elgg_echo("pages:river:updated", array($url)) . " ";
-$string .= elgg_echo("pages:river:update") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
-
-echo $string; \ No newline at end of file