Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
perl /
vendor /
lib /
DBIx /
Class /
Relationship /
[ HOME SHELL ]
Name
Size
Permission
Action
Accessor.pm
3.66
KB
-rw-rw-rw-
Base.pm
29.87
KB
-rw-rw-rw-
BelongsTo.pm
2.54
KB
-rw-rw-rw-
CascadeActions.pm
2.02
KB
-rw-rw-rw-
HasMany.pm
1.44
KB
-rw-rw-rw-
HasOne.pm
3.23
KB
-rw-rw-rw-
Helpers.pm
270
B
-rw-rw-rw-
ManyToMany.pm
4.77
KB
-rw-rw-rw-
ProxyMethods.pm
1.36
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : CascadeActions.pm
package # hide from PAUSE DBIx::Class::Relationship::CascadeActions; use strict; use warnings; use DBIx::Class::Carp; use namespace::clean; our %_pod_inherit_config = ( class_map => { 'DBIx::Class::Relationship::CascadeActions' => 'DBIx::Class::Relationship' } ); sub delete { my ($self, @rest) = @_; return $self->next::method(@rest) unless ref $self; # I'm just ignoring this for class deletes because hell, the db should # be handling this anyway. Assuming we have joins we probably actually # *could* do them, but I'd rather not. my $source = $self->result_source; my %rels = map { $_ => $source->relationship_info($_) } $source->relationships; my @cascade = grep { $rels{$_}{attrs}{cascade_delete} } keys %rels; if (@cascade) { my $guard = $source->schema->txn_scope_guard; my $ret = $self->next::method(@rest); foreach my $rel (@cascade) { if( my $rel_rs = eval{ $self->search_related($rel) } ) { $rel_rs->delete_all; } else { carp "Skipping cascade delete on relationship '$rel' - related resultsource '$rels{$rel}{class}' is not registered with this schema"; next; } } $guard->commit; return $ret; } $self->next::method(@rest); } sub update { my ($self, @rest) = @_; return $self->next::method(@rest) unless ref $self; # Because update cascades on a class *really* don't make sense! my $source = $self->result_source; my %rels = map { $_ => $source->relationship_info($_) } $source->relationships; my @cascade = grep { $rels{$_}{attrs}{cascade_update} } keys %rels; if (@cascade) { my $guard = $source->schema->txn_scope_guard; my $ret = $self->next::method(@rest); foreach my $rel (@cascade) { next if ( $rels{$rel}{attrs}{accessor} && $rels{$rel}{attrs}{accessor} eq 'single' && !exists($self->{_relationship_data}{$rel}) ); $_->update for grep defined, $self->$rel; } $guard->commit; return $ret; } $self->next::method(@rest); } 1;
Close