Minor text typos
that I noticed while looking at some code.
This commit is contained in:
parent
c5f0ad49b0
commit
a165710e99
|
@ -171,7 +171,7 @@ function execute_tests {
|
|||
else
|
||||
if [ "MariaDB" != "$(mysql --version | grep -o MariaDB)" ] ; then
|
||||
echo "Your mysql binary is not provided by MariaDB"
|
||||
echo "To use the docker container set the USEDOCKER enviroment variable"
|
||||
echo "To use the docker container set the USEDOCKER environment variable"
|
||||
exit -1
|
||||
fi
|
||||
mysql -u "$DATABASEUSER" -powncloud -e "DROP DATABASE IF EXISTS $DATABASENAME" -h $DATABASEHOST || true
|
||||
|
|
|
@ -452,7 +452,7 @@ $CONFIG = array(
|
|||
* expire rules. Please refer to Files_versions online documentation
|
||||
* for more info.
|
||||
* ``D, auto`` keep versions at least for D days, apply expire rules to all
|
||||
* versions that older than D days
|
||||
* versions that are older than D days
|
||||
* * ``auto, D`` delete all versions that are older than D days automatically,
|
||||
* delete other versions according to expire rules
|
||||
* * ``D1, D2`` keep versions for at least D1 days and delete when exceeds D2 days
|
||||
|
|
2
cron.php
2
cron.php
|
@ -113,7 +113,7 @@ try {
|
|||
\OCP\BackgroundJob::setExecutionType('cron');
|
||||
}
|
||||
|
||||
// open the file and try to lock if. If it is not locked, the background
|
||||
// open the file and try to lock it. If it is not locked, the background
|
||||
// job can be executed, otherwise another instance is already running
|
||||
$fp = fopen($lockFile, 'w');
|
||||
$isLocked = flock($fp, LOCK_EX|LOCK_NB, $wouldBlock);
|
||||
|
|
|
@ -228,7 +228,7 @@ class OC {
|
|||
public static function checkConfig() {
|
||||
$l = \OC::$server->getL10N('lib');
|
||||
|
||||
// Create config in case it does not already exists
|
||||
// Create config if it does not already exist
|
||||
$configFilePath = self::$configDir .'/config.php';
|
||||
if(!file_exists($configFilePath)) {
|
||||
@touch($configFilePath);
|
||||
|
@ -314,7 +314,7 @@ class OC {
|
|||
}
|
||||
|
||||
/**
|
||||
* check if the instance needs to preform an upgrade
|
||||
* check if the instance needs to perform an upgrade
|
||||
*
|
||||
* @return bool
|
||||
* @deprecated use \OCP\Util::needUpgrade() instead
|
||||
|
@ -567,7 +567,7 @@ class OC {
|
|||
|
||||
//try to configure php to enable big file uploads.
|
||||
//this doesn´t work always depending on the webserver and php configuration.
|
||||
//Let´s try to overwrite some defaults anyways
|
||||
//Let´s try to overwrite some defaults anyway
|
||||
|
||||
//try to set the maximum execution time to 60min
|
||||
@set_time_limit(3600);
|
||||
|
|
|
@ -90,7 +90,7 @@ class Event implements IEvent {
|
|||
}
|
||||
|
||||
/**
|
||||
* Set the author of the activity
|
||||
* Set the timestamp of the activity
|
||||
*
|
||||
* @param int $timestamp
|
||||
* @return IEvent
|
||||
|
|
Loading…
Reference in New Issue