Skip to content

Commit 850cb4a

Browse files
committed
Update docblock
1 parent 1d092ad commit 850cb4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entryexpiration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public static function load() {
4848
*
4949
* @see GF_Entry_Expiration::get_instance()
5050
*
51-
* @return object GF_Entry_Expiration
51+
* @return GF_Entry_Expiration|false
5252
*/
5353
function gf_entryexpiration() {
54-
return GF_Entry_Expiration::get_instance();
54+
return class_exists( 'GF_Entry_Expiration' ) ? GF_Entry_Expiration::get_instance() : false;
5555
}

0 commit comments

Comments
 (0)