use Friendica\Database\DBA;
use Friendica\Util\DateTimeFormat;
-require_once 'include/dba.php';
-
class Queue
{
/**
* @param string $id id
+ * @throws \Exception
*/
public static function updateTime($id)
{
/**
* @param string $id id
+ * @throws \Exception
*/
public static function removeItem($id)
{
* @param int $cid Contact id
*
* @return bool The communication with this contact has currently problems
+ * @throws \Exception
*/
public static function wasDelayed($cid)
{
* @param string $network network
* @param string $msg message
* @param boolean $batch batch, default false
+ * @param string $guid
+ * @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
public static function add($cid, $network, $msg, $batch = false, $guid = '')
{