we don't use EndTime so don't load it
This commit is contained in:
parent
bcdac0104f
commit
dbac099223
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue