From c37bf6845111bd343da2dfd9fef26c5a8f02c067 Mon Sep 17 00:00:00 2001 From: tomas Date: Fri, 22 Apr 2005 13:43:29 +0000 Subject: [PATCH] #511 fixed call to redefined method --- .../modules/storageServer/var/BasicStor.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/livesupport/modules/storageServer/var/BasicStor.php b/livesupport/modules/storageServer/var/BasicStor.php index 5b7bada04..52b2dd2a9 100644 --- a/livesupport/modules/storageServer/var/BasicStor.php +++ b/livesupport/modules/storageServer/var/BasicStor.php @@ -23,7 +23,7 @@ Author : $Author: tomas $ - Version : $Revision: 1.45 $ + Version : $Revision: 1.46 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/BasicStor.php,v $ ------------------------------------------------------------------------------*/ @@ -53,7 +53,7 @@ require_once "Transport.php"; * Core of LiveSupport file storage module * * @author $Author: tomas $ - * @version $Revision: 1.45 $ + * @version $Revision: 1.46 $ * @see Alib */ class BasicStor extends Alib{ @@ -876,7 +876,7 @@ class BasicStor extends Alib{ if($this->isGroup($uid) === FALSE){ $fid = $this->bsCreateFolder($this->storId, $login); if($this->dbc->isError($fid)) return $fid; - $res = $this->addPerm($uid, '_all', $fid, 'A'); + $res = parent::addPerm($uid, '_all', $fid, 'A'); if($this->dbc->isError($res)) return $res; if(!$this->config['isArchive']){ $res =$this->addSubj2Gr($login, $this->config['StationPrefsGr']); @@ -885,11 +885,11 @@ class BasicStor extends Alib{ if($this->dbc->isError($res)) return $res; $pfid = $this->bsCreateFolder($fid, 'public'); if($this->dbc->isError($pfid)) return $pfid; - $res = $this->addPerm($uid, '_all', $pfid, 'A'); + $res = parent::addPerm($uid, '_all', $pfid, 'A'); if($this->dbc->isError($res)) return $res; $allGrId = $this->getSubjId($this->config['AllGr']); if($this->dbc->isError($allGrId)) return $allGrId; - $res = $this->addPerm($allGrId, 'read', $pfid, 'A'); + $res = parent::addPerm($allGrId, 'read', $pfid, 'A'); if($this->dbc->isError($res)) return $res; } } @@ -1364,7 +1364,7 @@ class BasicStor extends Alib{ $this->storId = $this->wd = $this->addObj('StorageRoot', 'Folder', $this->rootId); $rootUid = parent::addSubj('root', $this->config['tmpRootPass']); - $res = $this->addPerm($rootUid, '_all', $this->rootId, 'A'); + $res = parent::addPerm($rootUid, '_all', $this->rootId, 'A'); $fid = $this->bsCreateFolder($this->storId, 'root'); if(!$this->config['isArchive']){ $stPrefGr = parent::addSubj($this->config['StationPrefsGr']); @@ -1373,7 +1373,7 @@ class BasicStor extends Alib{ if($this->dbc->isError($allid)) return $allid; $r = $this->addSubj2Gr('root', $this->config['AllGr']); if($this->dbc->isError($r)) return $r; - $r = $res = $this->addPerm($allid, 'read', $this->rootId, 'A'); + $r = $res = parent::addPerm($allid, 'read', $this->rootId, 'A'); if($this->dbc->isError($r)) return $r; } }