]> git.mxchange.org Git - friendica.git/commitdiff
fixed some typos
authorAlexander Kampmann <programmer@nurfuerspam.de>
Mon, 9 Apr 2012 12:27:52 +0000 (14:27 +0200)
committerAlexander Kampmann <programmer@nurfuerspam.de>
Mon, 9 Apr 2012 12:27:52 +0000 (14:27 +0200)
boot.php
include/dba.php
view/de/strings.php

index 56476be0b9de74436b76f4c32028a7c57078e348..eb2805f5fe6491ac8387150dfe3625f30e4a5a8f 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -672,7 +672,7 @@ if(! function_exists('check_config')) {
                                                                                '$sitename' => $a->config['sitename'],
                                                                                '$siteurl' =>  $a->get_baseurl(),
                                                                                '$update' => $x,
-                                                                               '$error' => $ex->getMessage());
+                                                                               '$error' => $ex->getMessage()));
                                                                $subject=sprintf(t('Update Error at %s'), $a->get_baseurl());
                                                                        
                                                                mail($a->config['admin_email'], $subject, $text,
index 8a9d599c4a0c6f1bbcf59fe3c4e2195d14a6c68f..1421a703dc730ad1a7eb803e30c632ff0d17937c 100644 (file)
@@ -54,10 +54,10 @@ if(! class_exists('dba')) {
 
                        if(class_exists('mysqli')) {
                                $this->db = new mysqli($server,$user,$pass,$db);
-                               if(NULL === $this->db->connect_error()) {
+                               if(NULL === $this->db->connect_error) {
                                        $this->connected = true;
                                } else {
-                                       throw new RuntimeException($this->db->connect_error());
+                                       throw new RuntimeException($this->db->connect_error);
                                }
                        } else {
                                $this->mysqli = false;
@@ -81,7 +81,7 @@ if(! class_exists('dba')) {
                public function q($sql) {
 
                        if((! $this->db) || (! $this->connected)) {
-                               throwOrLog(new RuntimeException(t("There is no db connection. ")));
+                               $this->throwOrLog(new RuntimeException(t("There is no db connection. ")));
                                return;
                        }
 
@@ -121,7 +121,7 @@ if(! class_exists('dba')) {
                                }
                                logger('dba: ' . $str );
                                if(FALSE===$result) {
-                                       throwOrLog(new RuntimeException('dba: ' . $str));
+                                       $this->throwOrLog(new RuntimeException('dba: ' . $str));
                                        return; 
                                }
                        }
index 5339d8a12bc7770cb51ebbfda65278b343788541..59c939ca04c1b34fb6d621d04bd5fefe1dca5eea 100644 (file)
@@ -777,7 +777,7 @@ $a->strings["{0} tagged %s's post with #%s"] = "{0} hat %ss Beitrag mit dem Schl
 $a->strings["{0} mentioned you in a post"] = "{0} hat dich in einem Beitrag erwähnt";
 $a->strings["OpenID protocol error. No ID returned."] = "OpenID Protokollfehler. Keine ID zurückgegeben.";
 $a->strings["Account not found and OpenID registration is not permitted on this site."] = "Account wurde nicht gefunden und OpenID Registrierung auf diesem Server nicht gestattet.";
-$a->strings["Login failed."] = "Annmeldung fehlgeschlagen.";
+$a->strings["Login failed."] = "Anmeldung fehlgeschlagen.";
 $a->strings["Connect URL missing."] = "Connect-URL fehlt";
 $a->strings["This site is not configured to allow communications with other networks."] = "Diese Seite ist so konfiguriert, dass keine Kommunikation mit anderen Netzwerken erfolgen kann.";
 $a->strings["No compatible communication protocols or feeds were discovered."] = "Es wurden keine kompatiblen Kommunikationsprotokolle oder Feeds gefunden.";