diff --git a/.drone.yml b/.drone.yml index dc4929b..90f1007 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,6 +20,9 @@ steps: include: - develop - feature/* + event: + - push + - pull_request - name: release image: deblan/devenv @@ -42,6 +45,8 @@ steps: - feature/* include: - master + event: + - push volumes: - name: artifacts diff --git a/.metroline.yml b/.metroline.yml deleted file mode 100644 index 7917ee0..0000000 --- a/.metroline.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: '1' -image: deblan/devenv -jobs: - build: - script: - - npm install - - make npm-build diff --git a/lib/Service/LangRepository.php b/lib/Service/LangRepository.php index c998a7e..bc124bd 100644 --- a/lib/Service/LangRepository.php +++ b/lib/Service/LangRepository.php @@ -26,7 +26,7 @@ class LangRepository $qb = $this->db->getQueryBuilder(); $qb->select($qb->createFunction('DISTINCT configvalue')) - ->where('configkey="lang" and appid="core" and configvalue<>"en"') + ->where('configkey=\'lang\' and appid=\'core\' and configvalue<>\'en\'') ->from('preferences') ;