40 lines
862 B
PHP
40 lines
862 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the symfony package.
|
|
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @package symfony
|
|
* @subpackage plugin
|
|
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
|
* @version SVN: $Id: sfGuardUserGroup.php 4 2008-09-24 08:40:58Z marek $
|
|
*/
|
|
class sfGuardUserGroup extends BasesfGuardUserGroup
|
|
{
|
|
public function save($con = null)
|
|
{
|
|
$ret = parent::save($con);
|
|
|
|
$this->getsfGuardUser($con)->reloadGroupsAndPermissions();
|
|
|
|
sfGuardUser::clearCache();
|
|
|
|
return $ret;
|
|
}
|
|
|
|
public function delete($con = null)
|
|
{
|
|
$ret = parent::delete($con);
|
|
|
|
sfGuardUser::clearCache();
|
|
|
|
return $ret;
|
|
}
|
|
}
|