[Pkg-owncloud-commits] [owncloud] 36/153: private -> protected
David Prévot
taffit at moszumanska.debian.org
Tue May 27 03:05:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 3e0858e51f885badb58b4ea3a7666937b3158bff
Author: Andreas Fischer <bantu at owncloud.com>
Date: Wed Apr 9 15:21:57 2014 +0200
private -> protected
---
core/command/db/converttype.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index d419ca6..81a89de 100644
--- a/core/command/db/converttype.php
+++ b/core/command/db/converttype.php
@@ -145,7 +145,7 @@ class ConvertType extends Command {
$this->convertDB($fromDB, $toDB, $tables, $input, $output);
}
- private function getToDBConnection(InputInterface $input, OutputInterface $output) {
+ protected function getToDBConnection(InputInterface $input, OutputInterface $output) {
$type = $input->getArgument('type');
$connectionParams = array(
'host' => $input->getArgument('hostname'),
@@ -160,12 +160,12 @@ class ConvertType extends Command {
return $this->connectionFactory->getConnection($type, $connectionParams);
}
- private function getTables(Connection $db) {
+ protected function getTables(Connection $db) {
$schemaManager = $db->getSchemaManager();
return $schemaManager->listTableNames();
}
- private function copyTable(Connection $fromDB, Connection $toDB, $table, OutputInterface $output) {
+ protected function copyTable(Connection $fromDB, Connection $toDB, $table, OutputInterface $output) {
/** @var $progress \Symfony\Component\Console\Helper\ProgressHelper */
$progress = $this->getHelperSet()->get('progress');
$query = 'SELECT COUNT(*) FROM '.$table;
@@ -185,7 +185,7 @@ class ConvertType extends Command {
$progress->finish();
}
- private function convertDB(Connection $fromDB, Connection $toDB, array $tables, InputInterface $input, OutputInterface $output) {
+ protected function convertDB(Connection $fromDB, Connection $toDB, array $tables, InputInterface $input, OutputInterface $output) {
$this->config->setValue('maintenance', true);
$type = $input->getArgument('type');
try {
@@ -216,7 +216,7 @@ class ConvertType extends Command {
$this->config->setValue('maintenance', false);
}
- private function saveDBInfo(InputInterface $input) {
+ protected function saveDBInfo(InputInterface $input) {
$type = $input->getArgument('type');
$username = $input->getArgument('username');
$dbhost = $input->getArgument('hostname');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list