Author: jablko
Date: Thu Oct 14 11:34:35 2010
New Revision: 8121
Log:
Cosmetic change
Modified:
trunk/apps/qubit/modules/user/actions/editTermAclAction.class.php
trunk/lib/SiteSettingsFilter.class.php
trunk/plugins/qbAclPlugin/modules/aclGroup/actions/editTermAclAction.class.php
Modified: trunk/apps/qubit/modules/user/actions/editTermAclAction.class.php
==============================================================================
--- trunk/apps/qubit/modules/user/actions/editTermAclAction.class.php Thu Oct
14 11:29:40 2010 (r8120)
+++ trunk/apps/qubit/modules/user/actions/editTermAclAction.class.php Thu Oct
14 11:34:35 2010 (r8121)
@@ -125,7 +125,7 @@
protected function processTermAcl($name)
{
- foreach ($this->request->getParameter($name) as $key => $value)
+ foreach ($this->request[$name] as $key => $value)
{
// If key has an underscore, then we are creating a new permission
if (1 == preg_match('/([\w]+)_(.*)/', $key, $matches))
Modified: trunk/lib/SiteSettingsFilter.class.php
==============================================================================
--- trunk/lib/SiteSettingsFilter.class.php Thu Oct 14 11:29:40 2010
(r8120)
+++ trunk/lib/SiteSettingsFilter.class.php Thu Oct 14 11:34:35 2010
(r8121)
@@ -29,7 +29,7 @@
// invalidate cache when user switches culture
// FIXME: there must be a smarter way to detect this accurately; user
culture is set very early after routing
- if ($this->getContext()->getRequest()->getParameter('sf_culture'))
+ if ($this->context->request->sf_culture)
{
//$fileCache->clean();
}
Modified:
trunk/plugins/qbAclPlugin/modules/aclGroup/actions/editTermAclAction.class.php
==============================================================================
---
trunk/plugins/qbAclPlugin/modules/aclGroup/actions/editTermAclAction.class.php
Thu Oct 14 11:29:40 2010 (r8120)
+++
trunk/plugins/qbAclPlugin/modules/aclGroup/actions/editTermAclAction.class.php
Thu Oct 14 11:34:35 2010 (r8121)
@@ -128,7 +128,7 @@
protected function processTermAcl($name)
{
- foreach ($this->request->getParameter($name) as $key => $value)
+ foreach ($this->request[$name] as $key => $value)
{
// If key has an underscore, then we are creating a new permission
if (1 == preg_match('/([\w]+)_(.*)/', $key, $matches))
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.