X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/801a05d2ff33bb8a3c1a46ea0c657825b2787fa7..4727eb31e50fa1571c83c4be5e228534b07574a7:/src/experiments/experiments.py diff --git a/src/experiments/experiments.py b/src/experiments/experiments.py index 60d05213d..8cd278594 100644 --- a/src/experiments/experiments.py +++ b/src/experiments/experiments.py @@ -8,10 +8,7 @@ class NewLayout(Experiment): slug = 'layout' name = 'Nowy layout strony' size = settings.EXPERIMENTS_LAYOUT - - def qualify(self, request): - if get_language() != 'pl': - return False + switchable = False class Sowka(Experiment): @@ -21,14 +18,7 @@ class Sowka(Experiment): switchable = False -class Search(Experiment): - slug = 'search' - name = 'Nowa wyszukiwarka' - size = settings.EXPERIMENTS_SEARCH - - experiments = [ NewLayout, Sowka, - Search ]