we don't use EndTime so don't load it

This commit is contained in:
Isaac Connor 2015-02-06 11:50:23 -05:00
parent bcdac0104f
commit dbac099223
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ function deleteEvent( $event, $mid=false ) {
if ( gettype($event) != 'array' ) { if ( gettype($event) != 'array' ) {
# $event could be an eid, so turn it into an event hash # $event could be an eid, so turn it into an event hash
$event = dbFetchOne( 'SELECT Id, MonitorId, StartTime, EndTime FROM Events WHERE Id=?', NULL, array( $event ) ); $event = dbFetchOne( 'SELECT Id, MonitorId, StartTime FROM Events WHERE Id=?', NULL, array( $event ) );
} }
global $user; global $user;