From 8d18842efa9f4973a35e88865ebadbe76bdb7d84 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Fri, 14 Oct 2005 19:26:40 +0000 Subject: [PATCH] Removed last references to deprecated "lastUpdated" --- docs/changelog/6.x.x.txt | 3 ++- lib/WebGUI/Asset/Shortcut.pm | 2 +- lib/WebGUI/Asset/Wobject/Folder.pm | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 335ece870..56c7af02a 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -9,7 +9,7 @@ - fix [ 1298851 ] forum subscribers still get notif. after subscr. expired - fix [ 1305368 ] Moderation in Collaboration not working ? - fix [ 1306912 ] CMS Matrix - Unable to approve article's - - Removed the depricated threaded view in the CS for a slight performance + - Removed the deprecated threaded view in the CS for a slight performance gain and simplified templates. - fix [ 1312107 ] Forum Issue in "Thread" View - fix [ 1318963 ] 6.7.5 None of the profile fields can be updated @@ -28,6 +28,7 @@ - fix [ 1299131 ] paragraph tags added every time collaboration message change - fix [ 1305132 ] 6.7.5 Assets are moved to trash by runHourly - fix [ 1282473 ] RSS encoding (Thanks to Klaus Hertle) + - fix Removed last references to deprecated "lastUpdated" 6.7.6 diff --git a/lib/WebGUI/Asset/Shortcut.pm b/lib/WebGUI/Asset/Shortcut.pm index 863aed706..186ecf1c0 100644 --- a/lib/WebGUI/Asset/Shortcut.pm +++ b/lib/WebGUI/Asset/Shortcut.pm @@ -300,7 +300,7 @@ sub getShortcutByCriteria { # Add constraint only if it has been modified. $sql .= " and ".$constraint if (($constraint ne $criteria) && $constraint ne ""); - $sql .= " order by w.lastUpdated desc"; + $sql .= " order by assetData.revisionDate desc"; # Execute the query with an unconditional read my @ids; diff --git a/lib/WebGUI/Asset/Wobject/Folder.pm b/lib/WebGUI/Asset/Wobject/Folder.pm index baa82a71d..39d3ecb21 100644 --- a/lib/WebGUI/Asset/Wobject/Folder.pm +++ b/lib/WebGUI/Asset/Wobject/Folder.pm @@ -130,7 +130,7 @@ sub view { title=>$child->get("title"), synopsis=>$child->get("synopsis"), size=>WebGUI::Utility::formatBytes($child->get("assetSize")), - "date.epoch"=>$child->get("lastUpdated"), + "date.epoch"=>$child->get("revisionDate"), "icon.small"=>$child->getIcon(1), "icon.big"=>$child->getIcon, type=>$child->getName,