Chore: Adjust spaces, tabs, newlines
parent
70de139e77
commit
f2aed5fc21
|
@ -121,6 +121,7 @@ class Event extends ZM_Object {
|
|||
public function StartDateTimeSecs() {
|
||||
return strtotime($this->{'StartDateTime'});
|
||||
}
|
||||
|
||||
public function EndDateTimeSecs() {
|
||||
return strtotime($this->{'EndDateTime'});
|
||||
}
|
||||
|
@ -256,7 +257,6 @@ class Event extends ZM_Object {
|
|||
}
|
||||
|
||||
public function getStreamSrc( $args=array(), $querySep='&' ) {
|
||||
|
||||
$Server = $this->Server();
|
||||
|
||||
# If we are in a multi-port setup, then use the multiport, else by
|
||||
|
@ -384,7 +384,7 @@ class Event extends ZM_Object {
|
|||
|
||||
function getThumbnailSrc( $args=array(), $querySep='&' ) {
|
||||
# The thumbnail is theoretically the image with the most motion.
|
||||
# We always store at least 1 image when capturing
|
||||
# We always store at least 1 image when capturing
|
||||
|
||||
$streamSrc = '';
|
||||
$Server = $this->Server();
|
||||
|
@ -681,6 +681,7 @@ class Event extends ZM_Object {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function canEdit($u=null) {
|
||||
global $user;
|
||||
if (!$u) $u=$user;
|
||||
|
@ -844,5 +845,4 @@ class Event extends ZM_Object {
|
|||
} # end sub GenerateVideo
|
||||
|
||||
} # end class
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue