Fix typos.
authorMatt Selsky <selsky@columbia.edu>
Tue, 13 Apr 2010 14:08:58 +0000 (10:08 -0400)
committerMatt Selsky <selsky@columbia.edu>
Wed, 14 Apr 2010 05:59:27 +0000 (01:59 -0400)
agora/lib/Messages.php
agora/rss/index.php
beatnik/lib/Driver/pdnsgsql.php
framework/VFS/lib/VFS/ListItem.php
ingo/spam.php
koward/lib/Koward/View/Object/search.html.php

index 33d31a8..b7c4e2b 100644 (file)
@@ -745,7 +745,7 @@ class Agora_Messages {
         }
 
         $sql .= ', message_modifystamp = ' . $_SERVER['REQUEST_TIME'] . '  WHERE message_id = ' . (int)$thread_id;
-        Horde::logMessage('Query by Agora_Messages::_sequence(): ' . $sql, 'DEBUG')
+        Horde::logMessage('Query by Agora_Messages::_sequence(): ' . $sql, 'DEBUG');
         return $this->_write_db->query($sql);
     }
 
index 596b74f..95bfccd 100644 (file)
@@ -16,7 +16,7 @@ $scope = Horde_Util::getGet('scope', 'agora');
 $cache_key = 'agora_rss_' . $scope;
 
 /* Initialize the Cache object. */
-$cache = $injector->getInstance('Horde_Cache')
+$cache = $injector->getInstance('Horde_Cache');
 
 $rss = $cache->get($cache_key, $conf['cache']['default_lifetime']);
 if (!$rss) {
index 16f59b5..736d0f6 100644 (file)
@@ -173,7 +173,7 @@ class Beatnik_Driver_pdnsgsql extends Beatnik_Driver
                   'd.id = r.domain_id AND d.name = ?';
         $values = array($domain);
 
-        Horde::logMessage('SQL Query by Beatnik_Driver_pdnsgsql::getRecords(): ' . $query, 'DEBUG')
+        Horde::logMessage('SQL Query by Beatnik_Driver_pdnsgsql::getRecords(): ' . $query, 'DEBUG');
         $result = $this->_db->getAll($query, $values, DB_FETCHMODE_ASSOC);
         if (is_a($result, 'PEAR_Error')) {
             Horde::logMessage($result, 'ERR');
index 628acf9..a284c2d 100644 (file)
@@ -52,7 +52,7 @@ class VFS_ListItem
      *
      * @var string
      */
-    protected. $_size;
+    protected $_size;
 
     /**
      * Last modified date.
@@ -98,7 +98,7 @@ class VFS_ListItem
      * @param string $path      The path to the file.
      * @param array $fileArray  An array of file properties.
      */
-    public function _-construct($path, $fileArray)
+    public function __construct($path, $fileArray)
     {
         $this->_path = $path . '/' . $fileArray['name'];
         $this->_name = $fileArray['name'];
index f06099e..f31dbe7 100644 (file)
@@ -97,7 +97,7 @@ if ($form->validate($vars)) {
     $spam->setSpamLevel($vars->level);
 
     try {
-        $ingo_storage->store($spam):
+        $ingo_storage->store($spam);
         $notification->push(_("Changes saved."), 'horde.success');
         if ($vars->submitbutton == _("Save and Enable")) {
             $filters->ruleEnable($spam_id);
index 0703010..4a1473f 100644 (file)
@@ -14,7 +14,7 @@
     <th class="item" width="1%"><?php echo Horde::img('edit.png', _("Edit")) ?></th>
    <?php endif; ?>
    <?php if ($this->allowDelete): ?>
-    <th class="item" width="1%"><?php echo Horde::img('delete.png', _("Delete"),) ?></th>
+    <th class="item" width="1%"><?php echo Horde::img('delete.png', _("Delete")) ?></th>
    <?php endif; ?>
    <?php foreach ($this->attributes as $attribute => $info): ?>
      <th class="item leftAlign" width="<?php echo $info['width'] ?>%" nowrap="nowrap"><?= $info['title'] ?></th>