Fix errors in Model namespace

This commit is contained in:
Art4 2024-12-04 21:41:41 +00:00
parent 2c801abb06
commit 07e9f0f54a
14 changed files with 11 additions and 64 deletions

View file

@ -7,10 +7,10 @@
namespace Friendica\Model\Post;
use \BadMethodCallException;
use BadMethodCallException;
use Exception;
use Friendica\Database\Database;
use Friendica\Database\DBA;
use Friendica\Database\DBStructure;
use Friendica\DI;
class ThreadUser
@ -18,9 +18,6 @@ class ThreadUser
/**
* Insert a new URI user entry
*
* @param integer $uri_id
* @param integer $uid
* @param array $fields
* @return bool success
* @throws \Exception
*/
@ -72,9 +69,6 @@ class ThreadUser
* Delete a row from the post-thread-user table
*
* @param array $conditions Field condition(s)
* @param array $options
* - cascade: If true we delete records in other tables that depend on the one we're deleting through
* relations (default: true)
*
* @return boolean was the delete successful?
* @throws \Exception