Usunięcie zbędnych plików .DS_Store oraz plików tymczasowych w module empikmarketplace

This commit is contained in:
2025-03-24 23:46:50 +01:00
parent 9b9872b0cf
commit 9074c2fb27
34 changed files with 239 additions and 95 deletions

View File

@@ -880,55 +880,55 @@
"config": {
"alias.php": {
"type": "-",
"size": 2036,
"size": 2057,
"lmtime": 0,
"modified": true
},
"autoload.php": {
"type": "-",
"size": 1284,
"size": 1340,
"lmtime": 0,
"modified": true
},
"bootstrap.php": {
"type": "-",
"size": 6219,
"size": 6171,
"lmtime": 0,
"modified": true
},
"config.inc.php": {
"type": "-",
"size": 10279,
"size": 11693,
"lmtime": 0,
"modified": true
},
"db_slave_server.inc.php": {
"type": "-",
"size": 1285,
"size": 1337,
"lmtime": 0,
"modified": true
},
"defines.inc.php": {
"type": "-",
"size": 8246,
"lmtime": 1742304496649,
"size": 8108,
"lmtime": 1742806151083,
"modified": false
},
"defines_uri.inc.php": {
"type": "-",
"size": 3146,
"size": 3237,
"lmtime": 0,
"modified": true
},
".htaccess": {
"type": "-",
"size": 180,
"size": 170,
"lmtime": 0,
"modified": false
"modified": true
},
"index.php": {
"type": "-",
"size": 1316,
"size": 1369,
"lmtime": 0,
"modified": true
},
@@ -941,19 +941,19 @@
},
"smartyadmin.config.inc.php": {
"type": "-",
"size": 5997,
"size": 5934,
"lmtime": 0,
"modified": true
},
"smarty.config.inc.php": {
"type": "-",
"size": 6860,
"size": 6750,
"lmtime": 0,
"modified": false
"modified": true
},
"smartyfront.config.inc.php": {
"type": "-",
"size": 8755,
"size": 8867,
"lmtime": 0,
"modified": true
},
@@ -4465,7 +4465,230 @@
"modified": true
}
},
"vendor": {},
"vendor": {
"autoload.php": {
"type": "-",
"size": 771,
"lmtime": 0,
"modified": false
},
"beberlei": {},
"bin": {},
"composer": {},
"csa": {},
"cssjanus": {},
"curl": {},
"defuse": {},
"doctrine": {},
"egulias": {},
"ezyang": {},
"fig": {},
"friendsofsymfony": {},
"geoip2": {},
"greenlion": {},
"guzzlehttp": {},
".htaccess": {
"type": "-",
"size": 170,
"lmtime": 0,
"modified": false
},
"incenteev": {},
"ircmaxell": {},
"jakeasmith": {},
"jdorn": {},
"league": {},
"markbaker": {},
"martinlindhe": {},
"matthiasmullie": {},
"maxmind": {},
"maxmind-db": {},
"mobiledetect": {},
"monolog": {},
"mrclay": {},
"nikic": {},
"paragonie": {},
"pear": {},
"pelago": {},
"phpoffice": {},
"prestashop": {},
"psr": {},
"react": {},
"sensio": {},
"sensiolabs": {},
"shudrum": {},
"smarty": {},
"soundasleep": {},
"swiftmailer": {},
"symfony": {
"http-client": {},
"http-client-contracts": {},
"mime": {},
"monolog-bundle": {},
"polyfill-apcu": {},
"polyfill-ctype": {},
"polyfill-iconv": {},
"polyfill-intl-icu": {},
"polyfill-intl-idn": {},
"polyfill-intl-normalizer": {},
"polyfill-mbstring": {},
"polyfill-php56": {},
"polyfill-php70": {},
"polyfill-php72": {},
"polyfill-php73": {},
"polyfill-util": {},
"service-contracts": {},
"swiftmailer-bundle": {},
"symfony": {
".appveyor.yml": {
"type": "-",
"size": 4039,
"lmtime": 0,
"modified": false
},
"LICENSE": {
"type": "-",
"size": 1065,
"lmtime": 0,
"modified": false
},
"link": {
"type": "-",
"size": 3346,
"lmtime": 0,
"modified": false
},
"src": {
"Symfony": {
"Bridge": {},
"Bundle": {},
"Component": {
"Asset": {},
"BrowserKit": {},
"Cache": {},
"ClassLoader": {},
"Config": {},
"Console": {},
"CssSelector": {},
"Debug": {},
"DependencyInjection": {},
"DomCrawler": {},
"Dotenv": {},
"EventDispatcher": {},
"ExpressionLanguage": {},
"Filesystem": {},
"Finder": {},
"Form": {},
"HttpFoundation": {},
"HttpKernel": {
"Bundle": {},
"CacheClearer": {},
"CacheWarmer": {},
"Client.php": {
"type": "-",
"size": 6487,
"lmtime": 0,
"modified": false
},
"Config": {},
"Controller": {},
"ControllerMetadata": {},
"DataCollector": {},
"Debug": {},
"DependencyInjection": {},
"Event": {},
"EventListener": {},
"Exception": {},
"Fragment": {},
"HttpCache": {},
"HttpKernelInterface.php": {
"type": "-",
"size": 1316,
"lmtime": 0,
"modified": false
},
"HttpKernel.php": {
"type": "-",
"size": 11004,
"lmtime": 0,
"modified": false
},
"KernelEvents.php": {
"type": "-",
"size": 3142,
"lmtime": 0,
"modified": false
},
"KernelInterface.php": {
"type": "-",
"size": 4676,
"lmtime": 0,
"modified": false
},
"Kernel.php": {
"type": "-",
"size": 32911,
"lmtime": 1742806002859,
"modified": false
},
"LICENSE": {
"type": "-",
"size": 1065,
"lmtime": 0,
"modified": false
},
"Log": {},
"Profiler": {},
"RebootableInterface.php": {
"type": "-",
"size": 779,
"lmtime": 0,
"modified": false
},
"Resources": {},
"TerminableInterface.php": {
"type": "-",
"size": 910,
"lmtime": 0,
"modified": false
},
"Tests": {},
"UriSigner.php": {
"type": "-",
"size": 2920,
"lmtime": 0,
"modified": false
}
},
"Inflector": {},
"Intl": {},
"Ldap": {},
"Lock": {},
"OptionsResolver": {},
"Process": {},
"PropertyAccess": {},
"PropertyInfo": {},
"Routing": {},
"Security": {},
"Serializer": {},
"Stopwatch": {},
"Templating": {},
"Translation": {},
"Validator": {},
"VarDumper": {},
"WebLink": {},
"Workflow": {},
"Yaml": {}
}
}
}
}
},
"tecnickcom": {},
"tijsverkoyen": {},
"twig": {},
"willdurand": {}
},
"webservice": {},
"xml_feeds.php": {
"type": "-",

Binary file not shown.

View File

@@ -1,46 +0,0 @@
<?php
namespace Empik\Marketplace\Repository;
use Db;
use DbQuery;
use Empik\Marketplace\Utils\Utils;
class AttributeRepository
{
/** @var Db */
protected $db;
/** @var int */
protected $langId;
public function __construct()
{
$this->db = Db::getInstance();
$this->langId = Utils::getLangId();
}
public function getAttributes($productId, $productAttributeId)
{
$sql = new DbQuery();
$sql->select('al.name AS value, agl.public_name AS name');
$sql->from('attribute_group', 'ag');
$sql->leftJoin('attribute_group_lang', 'agl', 'agl.id_attribute_group = ag.id_attribute_group AND agl.id_lang = ' . (int)$this->langId);
$sql->leftJoin('product_attribute', 'pa', 'pa.id_product = ' . (int)$productId . ' AND pa.id_product_attribute = ' . (int)$productAttributeId);
$sql->leftJoin('product_attribute_combination', 'pac', 'pac.id_product_attribute = pa.id_product_attribute');
$sql->leftJoin('attribute', 'a', 'a.id_attribute = pac.id_attribute AND ag.id_attribute_group = a.id_attribute_group');
$sql->leftJoin('attribute_lang', 'al', 'al.id_attribute = a.id_attribute AND al.id_lang = ' . (int)$this->langId);
$sql->orderBy('ag.id_attribute_group');
$result = $this->db->executeS($sql);
$resultGrouped = [];
foreach ($result as $item) {
if (!isset($resultGrouped[$item['name']]) || $item['value']) {
$resultGrouped[$item['name']] = $item;
}
}
return (array)$resultGrouped;
}
}

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\composer\installers\src\Composer\Installers\~syncthing~CakePHPInstaller.php.tmp

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\config\Tests\Definition\~syncthing~MergeTest.php.tmp

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\dependency-injection\Tests\Compiler\~syncthing~CheckDefinitionValidityPassTest.php.tmp

View File

@@ -1,7 +0,0 @@
<?php
namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component2\Dir1;
class Service4
{
}

View File

@@ -1,22 +0,0 @@
<?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use App\BarService;
return function (ContainerConfigurator $c) {
$c->services()
->set('bar', 'Class1')
->set(BarService::class)
->abstract(true)
->lazy()
->set('foo')
->parent(BarService::class)
->decorate('bar', 'b', 1)
->args([ref('b')])
->class('Class2')
->file('file.php')
->parent('bar')
->parent(BarService::class)
;
};

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\dependency-injection\Tests\Fixtures\xml\~syncthing~services_deprecated.xml.tmp

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB