diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-17 15:23:25 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-17 15:23:25 +0000 |
commit | d09ee2588c8a4ebf279a03368776d073ba9576da (patch) | |
tree | 511d5b61d9271667db53f8ac1c697d6c53f07761 /mod | |
parent | 43ffa1d95e62f553f7d0d7164c9c1a356abfcf93 (diff) | |
download | elgg-d09ee2588c8a4ebf279a03368776d073ba9576da.tar.gz elgg-d09ee2588c8a4ebf279a03368776d073ba9576da.tar.bz2 |
removed pages update river code
git-svn-id: http://code.elgg.org/elgg/trunk@7660 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/pages/actions/pages/edit.php | 2 | ||||
-rw-r--r-- | mod/pages/views/default/river/object/page/update.php | 16 | ||||
-rw-r--r-- | mod/pages/views/default/river/object/page_top/update.php | 16 |
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 |