aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-24 20:49:23 -0700
committerredmatrix <git@macgirvin.com>2016-05-24 20:49:23 -0700
commit80f2ba640ec528bd43db243122a69e765703b7c0 (patch)
treef1029b2b3143a501734bd49f00fbc95912044602 /include/network.php
parentf9a295a23627cf272e14559b8a11e3780de43ea1 (diff)
downloadvolse-hubzilla-80f2ba640ec528bd43db243122a69e765703b7c0.tar.gz
volse-hubzilla-80f2ba640ec528bd43db243122a69e765703b7c0.tar.bz2
volse-hubzilla-80f2ba640ec528bd43db243122a69e765703b7c0.zip
code cleanup
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/network.php b/include/network.php
index 35f4d113f..dd266f5d1 100644
--- a/include/network.php
+++ b/include/network.php
@@ -595,8 +595,6 @@ function parse_xml_string($s,$strict = true) {
function scale_external_images($s, $include_link = true, $scale_replace = false) {
- $a = get_app();
-
// Picture addresses can contain special characters
$s = htmlspecialchars_decode($s, ENT_COMPAT);
@@ -1618,8 +1616,6 @@ function fetch_xrd_links($url) {
function scrape_vcard($url) {
- $a = get_app();
-
$ret = array();
logger('scrape_vcard: url=' . $url);
@@ -1699,8 +1695,6 @@ function scrape_vcard($url) {
function scrape_feed($url) {
- $a = get_app();
-
$ret = array();
$level = 0;
$x = z_fetch_url($url,false,$level,array('novalidate' => true));
@@ -1938,9 +1932,6 @@ function do_delivery($deliveries) {
function get_site_info() {
- global $db;
- global $a;
-
$register_policy = Array('REGISTER_CLOSED', 'REGISTER_APPROVE', 'REGISTER_OPEN');
$directory_mode = Array('DIRECTORY_MODE_NORMAL', 'DIRECTORY_MODE_PRIMARY', 'DIRECTORY_MODE_SECONDARY', 256 => 'DIRECTORY_MODE_STANDALONE');