summaryrefslogtreecommitdiff
path: root/classes/Status_network.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-28 23:42:18 +0200
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-09-28 23:42:18 +0200
commit9587f9f55b55d2819f9ba57f7befd165ab842fa6 (patch)
tree1a8986578755dfb51ff6b04bdc7c007917e29fe5 /classes/Status_network.php
parentb03ece26eb1589c5200094f4d87455ca46db780b (diff)
* i18n/L10n and translator documentation updates.
* whitespace and indentation updates
Diffstat (limited to 'classes/Status_network.php')
-rw-r--r--classes/Status_network.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/classes/Status_network.php b/classes/Status_network.php
index 70c7a58eb..5d01e72cc 100644
--- a/classes/Status_network.php
+++ b/classes/Status_network.php
@@ -168,16 +168,16 @@ class Status_network extends Safe_DataObject
$orig->decache();
$result = $this->query($qry);
$this->decache();
-
+
return $result;
}
-
+
function delete()
{
$this->decache(); # while we still have the values!
return parent::delete();
}
-
+
/**
* @param string $servername hostname
* @param string $wildcard hostname suffix to match wildcard config
@@ -313,7 +313,7 @@ class Status_network extends Safe_DataObject
if (empty($result)) {
return explode('|', $this->tags);
}
-
+
return $result;
}
@@ -331,7 +331,7 @@ class Status_network extends Safe_DataObject
$snt->site_id = $this->site_id;
$snt->tag = $tag;
$snt->created = common_sql_now();
-
+
$id = $snt->insert();
if (!$id) {
// TRANS: Exception thrown when a tag cannot be saved.
@@ -356,7 +356,7 @@ class Status_network extends Safe_DataObject
$tag->free();
}
-
+
/**
* Check if this site record has a particular meta-info tag attached.
* @param string $tag