Version 4.7.8

This commit is contained in:
Neo committed 2025-12-19 16:10:42 -08:00
1 parent 7b7404e741
commit fd22d99e69
688 files changed
+19814 -10890

No files matched your search

@@ -43,6 +43,57 @@ class _Warning extends \IPS\Content\Item
* @brief Title
*/
public static $title = 'warning';
/**
* @return \DateInterval|null
*/
public function get_mq_interval()
{
if( $this->mq != -1 )
{
try
{
return new \DateInterval( $this->mq );
}
catch( \Exception $e ){}
}
return null;
}
/**
* @return \DateInterval|null
*/
public function get_rpa_interval()
{
if( $this->rpa != -1 )
{
try
{
return new \DateInterval( $this->rpa );
}
catch( \Exception $e ){}
}
return null;
}
/**
* @return \DateInterval|null
*/
public function get_suspend_interval()
{
if( $this->suspend != -1 )
{
try
{
return new \DateInterval( $this->suspend );
}
catch( \Exception $e ){}
}
return null;
}
/**
* Should posting this increment the poster's post count?