From 0365f8fd017bef03c832d4c18224c305cdc0b81f Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Wed, 29 Aug 2012 08:45:27 +0200 Subject: [PATCH] Remove php close at end of file --- apps/files_external/ajax/addRootCertificate.php | 1 - apps/files_external/ajax/dropbox.php | 2 -- apps/files_external/ajax/google.php | 2 -- apps/files_external/ajax/removeRootCertificate.php | 1 - apps/files_external/lib/amazons3.php | 2 -- apps/files_external/lib/dropbox.php | 2 -- apps/files_external/personal.php | 2 -- apps/files_external/settings.php | 2 -- apps/files_external/tests/test.php | 1 - apps/files_versions/appinfo/api.php | 2 -- apps/files_versions/settings-personal.php | 1 - apps/user_webdavauth/appinfo/app.php | 1 - apps/user_webdavauth/settings.php | 4 ---- apps/user_webdavauth/user_webdavauth.php | 2 -- lib/MDB2/Driver/Datatype/sqlite3.php | 2 -- lib/MDB2/Driver/Native/sqlite3.php | 1 - lib/MDB2/Driver/Reverse/sqlite3.php | 2 -- lib/public/share.php | 2 -- 18 files changed, 32 deletions(-) diff --git a/apps/files_external/ajax/addRootCertificate.php b/apps/files_external/ajax/addRootCertificate.php index 1aa40bd8aa4..a8719fc7a3d 100644 --- a/apps/files_external/ajax/addRootCertificate.php +++ b/apps/files_external/ajax/addRootCertificate.php @@ -25,4 +25,3 @@ OC_Mount_Config::createCertificateBundle(); header("Location: settings/personal.php"); exit; -?> \ No newline at end of file diff --git a/apps/files_external/ajax/dropbox.php b/apps/files_external/ajax/dropbox.php index 5f2ff17e625..f5923940dc9 100644 --- a/apps/files_external/ajax/dropbox.php +++ b/apps/files_external/ajax/dropbox.php @@ -37,5 +37,3 @@ if (isset($_POST['app_key']) && isset($_POST['app_secret'])) { } else { OCP\JSON::error(array('data' => array('message' => 'Please provide a valid Dropbox app key and secret.'))); } - -?> \ No newline at end of file diff --git a/apps/files_external/ajax/google.php b/apps/files_external/ajax/google.php index 23ecfc3708d..4cd01c06cc9 100644 --- a/apps/files_external/ajax/google.php +++ b/apps/files_external/ajax/google.php @@ -47,5 +47,3 @@ if (isset($_POST['step'])) { break; } } - -?> \ No newline at end of file diff --git a/apps/files_external/ajax/removeRootCertificate.php b/apps/files_external/ajax/removeRootCertificate.php index f78f85b8fe4..9b78e180d9e 100644 --- a/apps/files_external/ajax/removeRootCertificate.php +++ b/apps/files_external/ajax/removeRootCertificate.php @@ -9,4 +9,3 @@ $cert = $_POST['cert']; $file = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath("").'uploads/'.$cert; unlink($file); OC_Mount_Config::createCertificateBundle(); -?> \ No newline at end of file diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index 34f8ba25574..41ec3c70b45 100644 --- a/apps/files_external/lib/amazons3.php +++ b/apps/files_external/lib/amazons3.php @@ -232,5 +232,3 @@ class OC_Filestorage_AmazonS3 extends OC_Filestorage_Common { } } - -?> \ No newline at end of file diff --git a/apps/files_external/lib/dropbox.php b/apps/files_external/lib/dropbox.php index b90563a5065..bb86894e55e 100755 --- a/apps/files_external/lib/dropbox.php +++ b/apps/files_external/lib/dropbox.php @@ -251,5 +251,3 @@ class OC_Filestorage_Dropbox extends OC_Filestorage_Common { } } - -?> \ No newline at end of file diff --git a/apps/files_external/personal.php b/apps/files_external/personal.php index dec501741b6..f0d76460f54 100755 --- a/apps/files_external/personal.php +++ b/apps/files_external/personal.php @@ -31,5 +31,3 @@ $tmpl->assign('mounts', OC_Mount_Config::getPersonalMountPoints()); $tmpl->assign('certs', OC_Mount_Config::getCertificates()); $tmpl->assign('backends', $backends); return $tmpl->fetchPage(); - -?> \ No newline at end of file diff --git a/apps/files_external/settings.php b/apps/files_external/settings.php index acc9036b299..b586ce1e8cd 100644 --- a/apps/files_external/settings.php +++ b/apps/files_external/settings.php @@ -30,5 +30,3 @@ $tmpl->assign('groups', OC_Group::getGroups()); $tmpl->assign('users', OCP\User::getUsers()); $tmpl->assign('allowUserMounting', OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes')); return $tmpl->fetchPage(); - -?> \ No newline at end of file diff --git a/apps/files_external/tests/test.php b/apps/files_external/tests/test.php index bd24404f3b9..5387279fb07 100644 --- a/apps/files_external/tests/test.php +++ b/apps/files_external/tests/test.php @@ -4,4 +4,3 @@ echo "
";
 print_r(OC_Mount_Config::getSystemMountPoints());
 echo "
"; // OC_Mount_Config::addMountPoint('Photos', 'OC_Filestorage_SWIFT', array('host' => 'gapinthecloud.com', 'user' => 'Gap', 'token' => '23423afdasFJEW22', 'secure' => 'true', 'root' => ''), OC_Mount_Config::MOUNT_TYPE_GROUP, 'admin', false); -?> diff --git a/apps/files_versions/appinfo/api.php b/apps/files_versions/appinfo/api.php index a7386bc2c9f..3c45ff52457 100644 --- a/apps/files_versions/appinfo/api.php +++ b/apps/files_versions/appinfo/api.php @@ -32,5 +32,3 @@ return array( ) ) ); - -?> \ No newline at end of file diff --git a/apps/files_versions/settings-personal.php b/apps/files_versions/settings-personal.php index db80172979d..4fb866bd999 100644 --- a/apps/files_versions/settings-personal.php +++ b/apps/files_versions/settings-personal.php @@ -5,4 +5,3 @@ $tmpl = new OCP\Template( 'files_versions', 'settings-personal'); OCP\Util::addscript('files_versions','settings-personal'); return $tmpl->fetchPage(); -?> \ No newline at end of file diff --git a/apps/user_webdavauth/appinfo/app.php b/apps/user_webdavauth/appinfo/app.php index db1087449a5..ebadcf30b6c 100755 --- a/apps/user_webdavauth/appinfo/app.php +++ b/apps/user_webdavauth/appinfo/app.php @@ -35,4 +35,3 @@ $entry = array( 'href' => OC_Helper::linkTo( "user_webdavauth", "settings.php" ), 'name' => 'WEBDAVAUTH' ); -?> diff --git a/apps/user_webdavauth/settings.php b/apps/user_webdavauth/settings.php index 5bd1af53c92..1b80b1bba34 100755 --- a/apps/user_webdavauth/settings.php +++ b/apps/user_webdavauth/settings.php @@ -34,7 +34,3 @@ $tmpl = new OC_Template( 'user_webdavauth', 'settings'); $tmpl->assign( 'webdav_url', OC_Config::getValue( "user_webdavauth_url" )); return $tmpl->fetchPage(); - - - -?> diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php index 4490b1e4519..571aca2f70f 100755 --- a/apps/user_webdavauth/user_webdavauth.php +++ b/apps/user_webdavauth/user_webdavauth.php @@ -81,5 +81,3 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend { return $returnArray; } } - -?> diff --git a/lib/MDB2/Driver/Datatype/sqlite3.php b/lib/MDB2/Driver/Datatype/sqlite3.php index d74badbe4f1..66c68b93778 100644 --- a/lib/MDB2/Driver/Datatype/sqlite3.php +++ b/lib/MDB2/Driver/Datatype/sqlite3.php @@ -383,5 +383,3 @@ class MDB2_Driver_Datatype_sqlite3 extends MDB2_Driver_Datatype_Common // }}} } - -?> \ No newline at end of file diff --git a/lib/MDB2/Driver/Native/sqlite3.php b/lib/MDB2/Driver/Native/sqlite3.php index de650107238..344d523bdf3 100644 --- a/lib/MDB2/Driver/Native/sqlite3.php +++ b/lib/MDB2/Driver/Native/sqlite3.php @@ -31,4 +31,3 @@ require_once 'MDB2/Driver/Native/Common.php'; class MDB2_Driver_Native_sqlite extends MDB2_Driver_Native_Common { } -?> \ No newline at end of file diff --git a/lib/MDB2/Driver/Reverse/sqlite3.php b/lib/MDB2/Driver/Reverse/sqlite3.php index 33e5b590268..e5c758e3503 100644 --- a/lib/MDB2/Driver/Reverse/sqlite3.php +++ b/lib/MDB2/Driver/Reverse/sqlite3.php @@ -584,5 +584,3 @@ class MDB2_Driver_Reverse_sqlite3 extends MDB2_Driver_Reverse_Common 'This DBMS can not obtain tableInfo from result sets', __FUNCTION__); } } - -?> \ No newline at end of file diff --git a/lib/public/share.php b/lib/public/share.php index 91b1bffc2d7..9ad0f0f68f6 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -1119,5 +1119,3 @@ interface Share_Backend_Collection extends Share_Backend { public function getChildren($itemSource); } - -?> -- 2.39.5