Skip to content

Commit

Permalink
shorten aliases
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Mar 18, 2022
1 parent 6f086eb commit b1b6b3c
Showing 1 changed file with 23 additions and 25 deletions.
48 changes: 23 additions & 25 deletions lib/Db/CoreQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,30 +56,29 @@ class CoreQueryBuilder extends ExtendedQueryBuilder {
use TArrayTools;


public const SINGLE = 'single';
public const CIRCLE = 'circle';
public const MEMBER = 'member';
public const MEMBER_COUNT = 'membercount';
public const OWNER = 'owner';
public const FEDERATED_EVENT = 'federatedevent';
public const REMOTE = 'remote';
public const BASED_ON = 'basedon';
public const INITIATOR = 'initiator';
public const DIRECT_INITIATOR = 'initiatordirect';
public const MEMBERSHIPS = 'memberships';
public const CONFIG = 'config';
public const UPSTREAM_MEMBERSHIPS = 'upstreammemberships';
public const INHERITANCE_FROM = 'inheritancefrom';
public const INHERITED_BY = 'inheritedby';
public const INVITED_BY = 'invitedby';
public const MOUNT = 'mount';
public const MOUNTPOINT = 'mountpoint';
public const SHARE = 'share';
public const FILE_CACHE = 'filecache';
public const STORAGES = 'storages';
public const TOKEN = 'token';
public const OPTIONS = 'options';
public const HELPER = 'circleshelper';
public const SINGLE = 'cs';
public const CIRCLE = 'cc';
public const MEMBER = 'mm';
public const OWNER = 'wn';
public const FEDERATED_EVENT = 'ev';
public const REMOTE = 'rm';
public const BASED_ON = 'on';
public const INITIATOR = 'in';
public const DIRECT_INITIATOR = 'di';
public const MEMBERSHIPS = 'ms';
public const CONFIG = 'cf';
public const UPSTREAM_MEMBERSHIPS = 'up';
public const INHERITANCE_FROM = 'ih';
public const INHERITED_BY = 'by';
public const INVITED_BY = 'nv';
public const MOUNT = 'mo';
public const MOUNTPOINT = 'mp';
public const SHARE = 'sh';
public const FILE_CACHE = 'fc';
public const STORAGES = 'st';
public const TOKEN = 'tk';
public const OPTIONS = 'pt';
public const HELPER = 'hp';


public static $SQL_PATH = [
Expand All @@ -90,7 +89,6 @@ class CoreQueryBuilder extends ExtendedQueryBuilder {
self::OPTIONS => [
],
self::MEMBER,
self::MEMBER_COUNT,
self::OWNER => [
self::BASED_ON
],
Expand Down

0 comments on commit b1b6b3c

Please sign in to comment.