made format_time() private
This commit is contained in:
parent
39632560ff
commit
c469b7a00e
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ abstract class Event extends Post {
|
|||
return $this->format_time( $this->get_end_time() );
|
||||
}
|
||||
|
||||
static protected function format_time( $time ) {
|
||||
static private function format_time( $time ) {
|
||||
if ( is_null( $time ) ) {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue