disabled
     !ˆÄ�þ[p+8à#qÉB¥ ?ŸÔƒ.»ÓÃÀÐ a    !/*
   +----------------------------------------------------------------------+
   | Copyright (c) The PHP Group                                          |
   +----------------------------------------------------------------------+
   | This source file is subject to version 3.01 of the PHP license,      |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | https://www.php.net/license/3_01.txt                                 |
   | If you did not receive a copy of the PHP license and are unable to   |
   | obtain it through the world-wide-web, please send a note to          |
   | license@php.net so we can mail you a copy immediately.               |
   +----------------------------------------------------------------------+
   | Author: Stig Bakken <ssb@php.net>                                    |
   +----------------------------------------------------------------------+
*/

#ifndef PHP_TICKS_H
#define PHP_TICKS_H

int php_startup_ticks(void);
void php_deactivate_ticks(void);
void php_shutdown_ticks(php_core_globals *core_globals);
void php_run_ticks(int count);

BEGIN_EXTERN_C()
PHPAPI void php_add_tick_function(void (*func)(int, void *), void *arg);
PHPAPI void php_remove_tick_function(void (*func)(int, void *), void * arg);
END_EXTERN_C()

#endif
     #ˆÏÎÓ497ÍÀÐ ñ    #‹      Å”QoÚ0…ßû+<?ì-¹@aªZÇSG˜†FQªišö`bC¬&vd_ÊØ¯ŸC@¥hÝËö”ëäË½çœÄfoÒIþu: Ÿæw#2}ø0ö	� ¾\öÒyÚ<èÆ­6À`L	Í«k€Ífo.cëV0ŸAŽeÑ�NgK””_°ú¿ ,WB†+a¨±P|h¤úAì’€]£×RuH[zðÊÈ¥.T,UiãÜÇ™µU mæ#ï‹Ý…µwPèÌÀkTQ(�p[pÂ„F­SA
šÉAìÅ°…•ÛZcû¿è	cw�ˆÅNV]:Î0'O¢Ð+“P´åL—+â]–PÐ™5…0�ñJ/)&ôÛ°?ù8À¼~›3Ar§–	}ßOÆ7“$¥|,JÅ@œfîsKùHx$¥•z©•<ß7ð½þy¾aÚ0©ò™ÓjkžQ�­f¶ð•^{ÁAîŽ©‘JCd/Â˜ÞÎãy:œ5‘ÈºÅ³ºòu)Ÿ
§’T;•¡uÛ½ÿFÌ[³ðÕÍaIöîœ^åH9!9IþE$kóhìÆ§?™‡.+ëÐ_õb'å/–Ç¢SÙiu:Q«uz¤Ýºî^r|·>Ÿ·óÊÿ ö;„Án¿2hÎ”_;F[¶       %ˆÏÎÓ456ÍÀÐ È    %‹      Å”á�“0Æ¿ß_ñÚ~/Ü6ïJÍ9–¸¸Û–ÆcL¡š1JJw8ÿzaL‡f;51ñ-ý=/Ïó––>–“ðÃj
oÂû9¬Þ½žÏ&@ˆï‡Ä º…‘ãzˆÓ’Y[Þ ÖuíÔCG›Ã5fv›�°²FÅÖVvEÛwì
h&¹hž@­²¹d³BÈ/ @½³•rˆ¹Öy]	ŠÑhð(¢‘û¶–÷¤®Y>|€Gy;4ŒÚy®ÒÂ'V—„QµM¡2±OPÅº¨0Êy±qR•à¹õÉÇÙdù©áÐf­šQ™‘‰O^MüÅíÒ¿#lÁ·’"?ÏÜwÌœW¶Z¨DIq~èàõõrÁ cYÅF•Véâ„b±5ÖyUò&ë¸I�™>Õ!âwÝàñOÍXÝ­§‹0˜­»–ˆ¶ÄÉÝi[q#�22¶Úì�&;Åó"ªÊÛïS8Z0*Í,a 8Kþ…ï]±)t]ô­7m9kº4Z'Ÿ7rOØ�aßì/î®ÝkwàŽÞ\ïÆ\ =çÅÛÿÃ)wQ/J;ýq†/Ý'våÿ9<žFŠ‡3L±»¾ž@‹Ìr       'ˆÈ�þdm•œp,Æ2N�æÿŸÔƒe ‡ÓÇÀÐ S    '# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/

class Issue6342DashboardSettings < ActiveRecord::Migration[8.1]
  def up
    # return if it's a new setup
    return if !Setting.exists?(name: 'system_init_done')

    add_permission
    add_dashboard_setting
    add_dashboard_activity_stream_setting
    add_dashboard_activity_stream_own_setting
    add_dashboard_first_steps_setting
    add_dashboard_stats_settings
  end

  private

  def add_permission
    Permission.create_if_not_exists(
      name:        'admin.dashboard',
      label:       'Dashboard',
      description: 'Manage dashboard settings of your system.',
      preferences: { prio: 1305 }
    )
  end

  def add_dashboard_setting
    Setting.create_if_not_exists(
      title:       'Dashboard',
      name:        'dashboard',
      area:        'Dashboard::Base',
      description: 'Enable the dashboard.',
      options:     {},
      preferences: {
        authentication: true,
        permission:     ['admin.dashboard'],
      },
      state:       true,
      frontend:    true
    )
  end

  def add_dashboard_activity_stream_setting
    Setting.create_if_not_exists(
      title:       'Dashboard activity stream',
      name:        'dashboard_activity_stream',
      area:        'Dashboard::Base',
      description: 'Enable the activity stream on the dashboard.',
      options:     {},
      preferences: {
        authentication: true,
        permission:     ['admin.dashboard'],
      },
      state:       true,
      frontend:    true
    )
  end

  def add_dashboard_activity