[vanillin commit] r294 - trunk/themes

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 6, 2007, 1:36:50 PM10/6/07
to vanilli...@googlegroups.com
Author: helgith
Date: Sat Oct 6 10:34:52 2007
New Revision: 294

Modified:
trunk/themes/settings_role_list.php

Log:
Use Database::getInstance

Modified: trunk/themes/settings_role_list.php
==============================================================================
--- trunk/themes/settings_role_list.php (original)
+++ trunk/themes/settings_role_list.php Sat Oct 6 10:34:52 2007
@@ -19,12 +19,12 @@
'<form method="get"
action="'.GetUrl($this->Context->Configuration, $this->Context->SelfUrl).'">
<input type="hidden" name="PostBackAction" value="Role" />
<p>'.$this->Context->GetDefinition('RoleReorderNotes').'</p>
-
+
<div class="SortList" id="SortRoles">';
if ($this->RoleData) {
$r = ObjectFactory::getInstance()->NewObject('Role');
-
- while ($Row =
$this->Context->Database->GetRow($this->RoleData)) {
+ $db = Database::getInstance();
+ while ($Row = $db->GetRow($this->RoleData)) {
$r->Clear();
$r->GetPropertiesFromDataSet($Row);
$r->FormatPropertiesForDisplay();

Reply all
Reply to author
Forward
0 new messages