diff options
-rw-r--r-- | app/class/table.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/class/table.class.php b/app/class/table.class.php index 28308bb..5e4c823 100644 --- a/app/class/table.class.php +++ b/app/class/table.class.php @@ -191,7 +191,7 @@ abstract class table /* * Get current timestamp as a string for object database purposes */ - private static function getCurrentTimestamp() : string + public static function getCurrentTimestamp() : string { $query = "SELECT now() AS stamp"; $res = database::query($query); @@ -201,7 +201,7 @@ abstract class table /* * Check whether the given GUID exists */ - private static function isGUID(string $guid) : bool + public static function isGUID(string $guid) : bool { $guid = database::esc($guid); $query = "SELECT guid FROM objects WHERE guid = '" . $guid . "'"; |