Skip to content

Commit 01a9813

Browse files
committed
Remove old debug hack
1 parent 5ec2612 commit 01a9813

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/libsync/syncengine.cpp

-12
Original file line numberDiff line numberDiff line change
@@ -586,18 +586,6 @@ void SyncEngine::slotDiscoveryFinished()
586586
emit transmissionProgress(*_progressInfo);
587587
_progressInfo->startEstimateUpdates();
588588

589-
// post update phase script: allow to tweak stuff by a custom script in debug mode.
590-
if (!qEnvironmentVariableIsEmpty("OWNCLOUD_POST_UPDATE_SCRIPT")) {
591-
#ifndef NDEBUG
592-
const QString script = qEnvironmentVariable("OWNCLOUD_POST_UPDATE_SCRIPT");
593-
594-
qCDebug(lcEngine) << "Post Update Script: " << script;
595-
QProcess::execute(script, {});
596-
#else
597-
qCWarning(lcEngine) << "**** Attention: POST_UPDATE_SCRIPT installed, but not executed because compiled with NDEBUG";
598-
#endif
599-
}
600-
601589
// do a database commit
602590
_journal->commit(QStringLiteral("post treewalk"));
603591

0 commit comments

Comments
 (0)