aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Block.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Block.php')
-rw-r--r--includes/Block.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/Block.php b/includes/Block.php
index e18b80b41abc..7ab2583f51ba 100644
--- a/includes/Block.php
+++ b/includes/Block.php
@@ -58,7 +58,9 @@ class Block
$mUser = $mBy = 0;
}
- # Get a ban from the DB, with either the given address or the given username
+ /**
+ * Get a ban from the DB, with either the given address or the given username
+ */
function load( $address = '', $user = 0, $killExpired = true )
{
$fname = 'Block::load';
@@ -161,7 +163,9 @@ class Block
}
}
- # Callback with a Block object for every block
+ /**
+ * Callback with a Block object for every block
+ */
/*static*/ function enumBlocks( $callback, $tag, $flags = 0 )
{
$block = new Block();