- Timestamp:
- 03/08/13 14:55:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/interceptors/DBMapping.php
r7980 r7981 1400 1400 1401 1401 public function deleteCalendarSignatureDependences(&$uri, &$params, &$criteria, $original) { 1402 $signature = Controller::read($uri, array('isOwner', 'calendar' ));1402 $signature = Controller::read($uri, array('isOwner', 'calendar','user')); 1403 1403 1404 1404 if ($signature['isOwner'] == '1') { … … 1416 1416 1417 1417 $autoCommit = Controller::service('PostgreSQL')->execResultSql('Select config_value FROM phpgw_config WHERE config_app = \'expressoCalendar\' AND config_name = \'expressoCalendar_autoImportCalendars\''); 1418 1418 1419 if(isset($autoCommit[0]) && $autoCommit[0]['config_value'] == 'true') 1419 1420 { 1420 $defaultCalendar = Controller::find(array('concept' => 'modulePreference'), array('value','id') , array('filter' => array( 'and' , array('=' , 'name' , 'dafaultImportCalendar') , array('=' , 'module' , 'expressoCalendar') , array('=' , 'user' , $original['properties']['user']) )) ); 1421 $defaultCalendar = Controller::find(array('concept' => 'modulePreference'), array('value','id') , array('filter' => array( 'and' , array('=' , 'name' , 'dafaultImportCalendar') , array('=' , 'module' , 'expressoCalendar') , array('=' , 'user' , $signature['user']) )) ); 1422 1423 1424 self::lg($defaultCalendar); 1421 1425 if(isset($defaultCalendar[0]) && $defaultCalendar[0]['value'] == $signature['calendar'] ) 1422 1426 {
Note: See TracChangeset
for help on using the changeset viewer.