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();