use Friendica\App;
use Friendica\Content\Text\BBCode;
use Friendica\Content\Text\HTML;
-use Friendica\Core\Config\PConfiguration;
+use Friendica\Core\Config\IPConfiguration;
use Friendica\Core\L10n\L10n;
use Friendica\Core\Protocol;
use Friendica\Core\System;
use Friendica\Network\HTTPException;
/**
- * @brief Methods for read and write notifications from/to database
+ * Methods for read and write notifications from/to database
* or for formatting notifications
*/
final class Notify
private $args;
/** @var App\BaseURL */
private $baseUrl;
- /** @var PConfiguration */
+ /** @var IPConfiguration */
private $pConfig;
/** @var LoggerInterface */
private $logger;
public function __construct(Database $dba, L10n $l10n, App\Arguments $args, App\BaseURL $baseUrl,
- PConfiguration $pConfig, LoggerInterface $logger)
+ IPConfiguration $pConfig, LoggerInterface $logger)
{
$this->dba = $dba;
$this->l10n = $l10n;
}
/**
- * @brief set seen state of $note of local_user()
+ * set seen state of $note of local_user()
*
* @param array $note note array
* @param bool $seen optional true or false, default true
}
/**
- * @brief List of pages for the Notifications TabBar
+ * List of pages for the Notifications TabBar
*
* @return array with with notifications TabBar data
* @throws Exception
}
/**
- * @brief Get home notifications
+ * Get home notifications
*
* @param bool $seen False => only include notifications into the query
* which aren't marked as "seen"
}
/**
- * @brief Get introductions
+ * Get introductions
*
* @param bool $all If false only include introductions into the query
* which aren't marked as ignored
}
/**
- * @brief Format the notification query in an usable array
+ * Format the notification query in an usable array
*
* @param array $intros The array from the db query
*
}
/**
- * @brief Check for missing contact data and try to fetch the data from
- * from other sources
+ * Check for missing contact data and try to fetch the data from
+ * from other sources
*
* @param array $intro The input array with the intro data
*