Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,24 +302,12 @@ services:
- '%core.root_path%'
- '%core.php_ext%'

phpbb.titania.mod.prevalidator:
class: phpbb\titania\contribution\mod\prevalidator
arguments:
- '@phpbb.titania.config'
- '@user'
- '@template'
- '@phpbb.titania.contribution.prevalidator_helper'
- '%core.root_path%'
- '%phpbb.titania.root_path%'
- '%core.php_ext%'

phpbb.titania.mod.type:
class: phpbb\titania\contribution\mod\type
arguments:
- '@phpbb.titania.config'
- '@user'
- '@auth'
- '@phpbb.titania.mod.prevalidator'
tags:
- { name: titania.contribution.type }

Expand Down
6 changes: 3 additions & 3 deletions contribution/bbcode/type.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class type extends base
/** @var demo\demo */
protected $demo;

const ID = 7;
const NAME = 'bbcode';
const URL = 'bbcode';
public const ID = 7;
public const NAME = 'bbcode';
public const URL = 'bbcode';

/**
* Constructor
Expand Down
6 changes: 3 additions & 3 deletions contribution/bridge/type.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

class type extends base
{
const ID = 5;
const NAME = 'bridge';
const URL = 'bridge';
public const ID = 5;
public const NAME = 'bridge';
public const URL = 'bridge';

/**
* @{inheritDoc}
Expand Down
6 changes: 3 additions & 3 deletions contribution/converter/type.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

class type extends base
{
const ID = 3;
const NAME = 'converter';
const URL = 'converter';
public const ID = 3;
public const NAME = 'converter';
public const URL = 'converter';

/**
* @{inheritDoc}
Expand Down
6 changes: 3 additions & 3 deletions contribution/extension/type.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class type extends base
/** @var prevalidator */
protected $prevalidator;

const ID = 8;
const NAME = 'extension';
const URL = 'extension';
public const ID = 8;
public const NAME = 'extension';
public const URL = 'extension';

/**
* Constructor
Expand Down
211 changes: 0 additions & 211 deletions contribution/mod/prevalidator.php

This file was deleted.

Loading