summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2007-01-05 05:32:23 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2007-01-05 05:32:23 +0000
commit365439ffdfd0482f174389552e1d1e2e67a060c3 (patch)
tree722ea674a698d957e657508c97b2ecba62d22cd4 /includes
parent4026afab01aa4cc232884e680d1962ab5881df92 (diff)
downloadbrdo-365439ffdfd0482f174389552e1d1e2e67a060c3.tar.gz
brdo-365439ffdfd0482f174389552e1d1e2e67a060c3.tar.bz2
#107015: Code consistency, capitalization of class names.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
-rw-r--r--includes/file.inc2
-rw-r--r--includes/locale.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 033420b5d..31474eb5c 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -407,7 +407,7 @@ function drupal_access_denied() {
* data, and redirect status.
*/
function drupal_http_request($url, $headers = array(), $method = 'GET', $data = NULL, $retry = 3) {
- $result = new StdClass();
+ $result = new stdClass();
// Parse the URL, and make sure we can handle the schema.
$uri = parse_url($url);
diff --git a/includes/file.inc b/includes/file.inc
index 0b58edb4b..702641312 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -220,7 +220,7 @@ function file_check_upload($source = 'upload') {
}
// Begin building file object.
- $file = new StdClass();
+ $file = new stdClass();
$file->filename = trim(basename($_FILES["files"]["name"][$source]), '.');
// Create temporary name/path for newly uploaded files.
diff --git a/includes/locale.inc b/includes/locale.inc
index ac51ce0ae..376dee5f1 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -1305,7 +1305,7 @@ function _locale_string_seek_query() {
if (!isset($query)) {
$fields = array('string', 'language', 'searchin');
- $query = new StdClass;
+ $query = new stdClass();
if (is_array($_REQUEST['edit'])) {
foreach ($_REQUEST['edit'] as $key => $value) {
if (!empty($value) && in_array($key, $fields)) {