summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98ef2be)
raw | patch | inline | side by side (parent: 98ef2be)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jan 2010 09:55:48 +0000 (09:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jan 2010 09:55:48 +0000 (09:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15221 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc | patch | blob | history | |
gosa-plugins/gofax/gofax/blocklists/main.inc | patch | blob | history |
diff --git a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc
index d04958a42c93dd0f8b0aff0b7d5fb08495324d3e..73d846a16fe27061aa1f5084ce86e8e78a472d6a 100644 (file)
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-class blocklistManagement extends management
+class blocklist extends management
{
var $plHeadline = "Blocklists";
var $plDescription = "Blocklist management";
diff --git a/gosa-plugins/gofax/gofax/blocklists/main.inc b/gosa-plugins/gofax/gofax/blocklists/main.inc
index 17dc229d6f24bee80f638373a8eb38f5248344d4..eac515c614e1e9ff3aaf5351419ab74727c2cc6d 100644 (file)
/* Remove locks created by this plugin
*/
if ($remove_lock){
- if(session::is_set('blocklistManagement')){
- $macl = session::get('blocklistManagement');
+ if(session::is_set('blocklist')){
+ $macl = session::get('blocklist');
$macl->remove_lock();
}
}
/* Remove this plugin from session
*/
if ( $cleanup ){
- session::un_set('blocklistManagement');
+ session::un_set('blocklist');
}else{
- /* Create blocklistManagement object on demand */
- if (!session::is_set('blocklistManagement')){
- $blocklistManagement= new blocklistManagement ($config, $ui);
- session::set('blocklistManagement',$blocklistManagement);
+ /* Create blocklist object on demand */
+ if (!session::is_set('blocklist')){
+ $blocklist= new blocklist ($config, $ui);
+ session::set('blocklist',$blocklist);
}
- $blocklistManagement = session::get('blocklistManagement');
- $display= $blocklistManagement->execute();
+ $blocklist = session::get('blocklist');
+ $display= $blocklist->execute();
/* Reset requested? */
if (isset($_GET['reset']) && $_GET['reset'] == 1){
- session::un_set ('blocklistManagement');
+ session::un_set ('blocklist');
}
/* Show and save dialog */
- session::set('blocklistManagement',$blocklistManagement);
+ session::set('blocklist',$blocklist);
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: