cvs: pear /LiveUser_Admin/Perm Simple.php /LiveUser_Admin/docs/examples/example1 Application.php

From: Date: Tue, 21 Feb 2006 16:35:52 +0000
Subject: cvs: pear /LiveUser_Admin/Perm Simple.php /LiveUser_Admin/docs/examples/example1 Application.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38457@lists.php.net to get a copy of this message
lsmith Tue Feb 21 16:35:52 2006 UTC Modified files: /pear/LiveUser_Admin/docs/examples/example1 Application.php /pear/LiveUser_Admin/Perm Simple.php Log: - removed setCurrentApplication/getCurrentApplication since they are no longer relevant http://cvs.php.net/viewcvs.cgi/pear/LiveUser_Admin/docs/examples/example1/Application.php?r1=1.1&r2=1.2&diff_format=u Index: pear/LiveUser_Admin/docs/examples/example1/Application.php diff -u pear/LiveUser_Admin/docs/examples/example1/Application.php:1.1 pear/LiveUser_Admin/docs/examples/example1/Application.php:1.2 --- pear/LiveUser_Admin/docs/examples/example1/Application.php:1.1 Sat Aug 13 21:33:58 2005 +++ pear/LiveUser_Admin/docs/examples/example1/Application.php Tue Feb 21 16:35:52 2006 @@ -28,12 +28,6 @@ Var_Dump::display($applications); echo '<br />'; - // Set/Get current Application - $id = array_rand($applications); - $admin->perm->setCurrentApplication($applications[$id]['application_id']); - $currentApp = $admin->perm->getCurrentApplication(); - echo '<strong>'.$currentApp.'</strong> is our current application now.<br />'; - // Remove $id = array_rand($applications); $filters = array('application_id' => $applications[$id]['application_id']); http://cvs.php.net/viewcvs.cgi/pear/LiveUser_Admin/Perm/Simple.php?r1=1.74&r2=1.75&diff_format=u Index: pear/LiveUser_Admin/Perm/Simple.php diff -u pear/LiveUser_Admin/Perm/Simple.php:1.74 pear/LiveUser_Admin/Perm/Simple.php:1.75 --- pear/LiveUser_Admin/Perm/Simple.php:1.74 Tue Jan 24 13:23:33 2006 +++ pear/LiveUser_Admin/Perm/Simple.php Tue Feb 21 16:35:52 2006 @@ -57,7 +57,7 @@ * @author Bjoern Kraus <krausbn@php.net> * @copyright 2002-2005 Markus Wolff * @license http://www.gnu.org/licenses/lgpl.txt - * @version CVS: $Id: Simple.php,v 1.74 2006/01/24 13:23:33 lsmith Exp $ + * @version CVS: $Id: Simple.php,v 1.75 2006/02/21 16:35:52 lsmith Exp $ * @link http://pear.php.net/LiveUser_Admin */ @@ -375,33 +375,6 @@ } /** - * Set current application - * - * @param int id of application - * @return bool always true - * - * @access public - */ - function setCurrentApplication($applicationId) - { - $this->_application = $applicationId; - - return true; - } - - /** - * Get current application - * - * @return string name of the current application - * - * @access public - */ - function getCurrentApplication() - { - return $this->_application; - } - - /** * Add an application * * @param array containing atleast the key-value-pairs of all required

« previous php.pear.cvs (#38457) next »