use Friendica\App;
use Friendica\ParseUrl;
+use Friendica\Core\PConfig;
require_once("include/Photo.php");
require_once("include/bbcode.php");
// Which purpose has this line? It is now uncommented, but left as a reminder
//} elseif (strpos($b["body"], "[share") !== false) {
// $post["url"] = $b["plink"];
- } elseif (get_pconfig($b["uid"], "system", "no_intelligent_shortening")) {
+ } elseif (PConfig::get($b["uid"], "system", "no_intelligent_shortening")) {
$post["url"] = $b["plink"];
}
$msg = shortenmsg($msg, $limit);