no more require_once()

remotes/origin/stable45
Thomas Mueller 12 years ago
parent daf41885e5
commit ebb28412ca
  1. 2
      apps/files_encryption/lib/crypt.php
  2. 2
      apps/files_external/lib/smb.php
  3. 2
      apps/files_external/lib/swift.php
  4. 2
      apps/files_versions/appinfo/app.php
  5. 2
      apps/user_webdavauth/appinfo/app.php
  6. 6
      l10n/templates/core.pot
  7. 44
      l10n/templates/files.pot
  8. 2
      l10n/templates/files_encryption.pot
  9. 2
      l10n/templates/files_external.pot
  10. 2
      l10n/templates/files_sharing.pot
  11. 2
      l10n/templates/files_versions.pot
  12. 2
      l10n/templates/lib.pot
  13. 2
      l10n/templates/settings.pot
  14. 2
      l10n/templates/user_ldap.pot
  15. 2
      lib/MDB2/Driver/Datatype/sqlite3.php
  16. 2
      lib/MDB2/Driver/Function/sqlite3.php
  17. 2
      lib/MDB2/Driver/Manager/sqlite3.php
  18. 2
      lib/MDB2/Driver/Reverse/sqlite3.php
  19. 2
      lib/filesystem.php
  20. 2
      lib/mail.php
  21. 4
      lib/migrate.php
  22. 2
      lib/minimizer/css.php
  23. 2
      lib/minimizer/js.php
  24. 2
      search/ajax/search.php
  25. 2
      settings/admin.php
  26. 2
      settings/ajax/disableapp.php
  27. 2
      settings/ajax/enableapp.php
  28. 2
      settings/ajax/togglesubadmins.php
  29. 2
      tests/lib/archive/tar.php
  30. 2
      tests/lib/archive/zip.php

@ -31,7 +31,7 @@
// - IMPORTANT! Check if the block lenght of the encrypted data stays the same
require_once('Crypt_Blowfish/Blowfish.php');
require_once 'Crypt_Blowfish/Blowfish.php';
/**
* This class is for crypting and decrypting

@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
require_once('smb4php/smb.php');
require_once 'smb4php/smb.php';
class OC_FileStorage_SMB extends OC_FileStorage_StreamWrapper{
private $password;

@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
require_once('php-cloudfiles/cloudfiles.php');
require_once 'php-cloudfiles/cloudfiles.php';
class OC_FileStorage_SWIFT extends OC_Filestorage_Common{
private $host;

@ -1,6 +1,6 @@
<?php
//require_once('files_versions/versions.php');
//require_once 'files_versions/versions.php';
OC::$CLASSPATH['OCA_Versions\Storage'] = 'apps/files_versions/lib/versions.php';
OC::$CLASSPATH['OCA_Versions\Hooks'] = 'apps/files_versions/lib/hooks.php';

@ -21,7 +21,7 @@
*
*/
require_once('apps/user_webdavauth/user_webdavauth.php');
require_once 'apps/user_webdavauth/user_webdavauth.php';
OC_APP::registerAdmin('user_webdavauth','settings');

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -29,10 +29,6 @@ msgstr ""
msgid "This category already exists: "
msgstr ""
#: js/jquery-ui-1.8.16.custom.min.js:511
msgid "ui-datepicker-group';if(i[1]>1)switch(G){case 0:y+="
msgstr ""
#: js/js.js:208 templates/layout.user.php:60 templates/layout.user.php:61
msgid "Settings"
msgstr ""

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -55,31 +55,35 @@ msgstr ""
msgid "Delete"
msgstr ""
#: js/filelist.js:141
#: js/filelist.js:186 js/filelist.js:188
msgid "already exists"
msgstr ""
#: js/filelist.js:141
#: js/filelist.js:186 js/filelist.js:188
msgid "replace"
msgstr ""
#: js/filelist.js:141
#: js/filelist.js:186
msgid "suggest name"
msgstr ""
#: js/filelist.js:186 js/filelist.js:188
msgid "cancel"
msgstr ""
#: js/filelist.js:195
#: js/filelist.js:235 js/filelist.js:237
msgid "replaced"
msgstr ""
#: js/filelist.js:195
msgid "with"
#: js/filelist.js:235 js/filelist.js:237 js/filelist.js:271
msgid "undo"
msgstr ""
#: js/filelist.js:195 js/filelist.js:246
msgid "undo"
#: js/filelist.js:237
msgid "with"
msgstr ""
#: js/filelist.js:246
#: js/filelist.js:271
msgid "deleted"
msgstr ""
@ -95,44 +99,44 @@ msgstr ""
msgid "Upload Error"
msgstr ""
#: js/files.js:236 js/files.js:327 js/files.js:356
#: js/files.js:236 js/files.js:341 js/files.js:370
msgid "Pending"
msgstr ""
#: js/files.js:341
#: js/files.js:355
msgid "Upload cancelled."
msgstr ""
#: js/files.js:409
#: js/files.js:423
msgid ""
"File upload is in progress. Leaving the page now will cancel the upload."
msgstr ""
#: js/files.js:480
#: js/files.js:493
msgid "Invalid name, '/' is not allowed."
msgstr ""
#: js/files.js:726 templates/index.php:55
#: js/files.js:746 templates/index.php:55
msgid "Size"
msgstr ""
#: js/files.js:727 templates/index.php:56
#: js/files.js:747 templates/index.php:56
msgid "Modified"
msgstr ""
#: js/files.js:754
#: js/files.js:774
msgid "folder"
msgstr ""
#: js/files.js:756
#: js/files.js:776
msgid "folders"
msgstr ""
#: js/files.js:764
#: js/files.js:784
msgid "file"
msgstr ""
#: js/files.js:766
#: js/files.js:786
msgid "files"
msgstr ""

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:02+0200\n"
"POT-Creation-Date: 2012-09-05 22:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-05 02:01+0200\n"
"POT-Creation-Date: 2012-09-05 22:50+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

@ -20,7 +20,7 @@
*
*/
require_once('MDB2/Driver/Datatype/Common.php');
require_once 'MDB2/Driver/Datatype/Common.php';
/**
* MDB2 SQLite driver

@ -20,7 +20,7 @@
*
*/
require_once('MDB2/Driver/Function/Common.php');
require_once 'MDB2/Driver/Function/Common.php';
/**
* MDB2 SQLite driver for the function modules

@ -20,7 +20,7 @@
*
*/
require_once('MDB2/Driver/Manager/Common.php');
require_once 'MDB2/Driver/Manager/Common.php';
/**
* MDB2 SQLite driver for the management modules

@ -20,7 +20,7 @@
*
*/
require_once('MDB2/Driver/Reverse/Common.php');
require_once 'MDB2/Driver/Reverse/Common.php';
/**
* MDB2 SQlite driver for the schema reverse engineering module

@ -559,4 +559,4 @@ OC_Hook::connect('OC_Filesystem','post_delete','OC_Filesystem','removeETagHook')
OC_Hook::connect('OC_Filesystem','post_rename','OC_Filesystem','removeETagHook');
OC_Util::setupFS();
require_once('filecache.php');
require_once 'filecache.php';

@ -12,7 +12,7 @@
* A class to handle mail sending.
*/
require_once('class.phpmailer.php');
require_once 'class.phpmailer.php';
class OC_Mail {

@ -376,7 +376,7 @@ class OC_Migrate{
// Connect if this did not happen before
if( !self::$schema ){
require_once('MDB2/Schema.php');
require_once 'MDB2/Schema.php';
self::$schema=MDB2_Schema::factory( self::$MDB2 );
}
@ -471,7 +471,7 @@ class OC_Migrate{
}
// Already connected
if(!self::$MDB2){
require_once('MDB2.php');
require_once 'MDB2.php';
$datadir = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" );

@ -1,6 +1,6 @@
<?php
require_once('mediawiki/CSSMin.php');
require_once 'mediawiki/CSSMin.php';
class OC_Minimizer_CSS extends OC_Minimizer
{

@ -1,6 +1,6 @@
<?php
require_once('mediawiki/JavaScriptMinifier.php');
require_once 'mediawiki/JavaScriptMinifier.php';
class OC_Minimizer_JS extends OC_Minimizer
{

@ -23,7 +23,7 @@
// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';
// Check if we are a user
OC_JSON::checkLoggedIn();

@ -5,7 +5,7 @@
* See the COPYING-README file.
*/
require_once('../lib/base.php');
require_once '../lib/base.php';
OC_Util::checkAdminUser();
OC_Util::addStyle( "settings", "settings" );

@ -1,6 +1,6 @@
<?php
// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();

@ -1,7 +1,7 @@
<?php
// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();

@ -1,7 +1,7 @@
<?php
// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();

@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
require_once('archive.php');
require_once 'archive.php';
if(is_dir(OC::$SERVERROOT.'/apps/files_archive/tests/data')){
class Test_Archive_TAR extends Test_Archive{

@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
require_once('archive.php');
require_once 'archive.php';
if(is_dir(OC::$SERVERROOT.'/apps/files_archive/tests/data')){
class Test_Archive_ZIP extends Test_Archive{

Loading…
Cancel
Save